Here is the issue link:
http://www.cocos2d-x.org/issues/2920With cocos2d-x v3.0 latest code:
Run TestCpp~~>enter ExtensionsTest/EditBoxTest~~>click voice inputing button on keyboard.
It will crash and interrupt at CCTextureAtlas.cpp line 649:
glDrawElements(GL_TRIANGLES, (GLsizei) numberOfQuads*6, GL_UNSIGNED_SHORT, (GLvoid*) (start*6*sizeof(_indices)) );
Xcode will show: EXC_BAD_ACCESS.
And the OpenGL error code is: 0x0502
the OpenGL error description:
Given when the set of state for a command is not legal for the parameters given to that command. It is also given for commands where combinations of parameters define what the legal parameters are.
I don’t know how to fix this bug, does someone know how to fix it? Thanks.