From e17e365b71030ff2d839c63ac6e5d044b4b15773 Mon Sep 17 00:00:00 2001 From: Jason Sams Date: Wed, 13 Jan 2010 14:52:46 -0800 Subject: Remove excessive logging, fix error in GLSL uniform generation. --- libs/rs/rsProgramVertex.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libs/rs/rsProgramVertex.cpp') diff --git a/libs/rs/rsProgramVertex.cpp b/libs/rs/rsProgramVertex.cpp index 8849bda..cf6d7fc 100644 --- a/libs/rs/rsProgramVertex.cpp +++ b/libs/rs/rsProgramVertex.cpp @@ -124,7 +124,6 @@ void ProgramVertex::createShader() mShader.append(mUniformNames[0]); mShader.append(";\n"); - LOGE("constant %i ", mConstantCount); for (uint32_t ct=0; ct < mConstantCount; ct++) { const Element *e = mConstantTypes[ct]->getElement(); for (uint32_t field=0; field < e->getFieldCount(); field++) { @@ -337,7 +336,7 @@ void ProgramVertex::init(Context *rsc) mUniformCount = 1; mUniformNames[0].setTo("UNI_MVP"); - for (uint32_t ct=0; ct < mInputCount; ct++) { + for (uint32_t ct=0; ct < mConstantCount; ct++) { initAddUserElement(mConstantTypes[ct]->getElement(), mUniformNames, &mUniformCount, "UNI_"); } } else { -- cgit v1.1