Merge pull request #12361 from dabingnn/v3_androidBugForVertexAttrib

fix android background and foreground bug with VertexAttributeBinding
This commit is contained in:
pandamicro 2015-06-17 09:34:47 +08:00
commit a2deddcf59
1 changed files with 2 additions and 2 deletions

View File

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