diff --git a/cocos/renderer/CCGLProgram.cpp b/cocos/renderer/CCGLProgram.cpp index 224bf27536..b60c8d128c 100644 --- a/cocos/renderer/CCGLProgram.cpp +++ b/cocos/renderer/CCGLProgram.cpp @@ -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;