mirror of https://github.com/axmolengine/axmol.git
Merge pull request #12361 from dabingnn/v3_androidBugForVertexAttrib
fix android background and foreground bug with VertexAttributeBinding
This commit is contained in:
commit
a2deddcf59
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue