fix android background and foreground bug with VertexAttributeBinding

This commit is contained in:
Huabing.Xu 2015-06-16 14:04:50 +08:00
parent 902f1696e8
commit 19982aae00
1 changed files with 2 additions and 2 deletions

View File

@ -308,7 +308,7 @@ void GLProgram::bindPredefinedVertexAttribs()
void GLProgram::parseVertexAttribs()
{
_vertexAttribs.clear();
//_vertexAttribs.clear();
// Query and store vertex attribute meta-data from the program.
GLint activeAttributes;
@ -346,7 +346,7 @@ void GLProgram::parseVertexAttribs()
void GLProgram::parseUniforms()
{
_userUniforms.clear();
//_userUniforms.clear();
// Query and store uniforms from the program.
GLint activeUniforms;