Error code on Android device:
--
gles_state_set_error_internal:62: GLES ctx: 0xe097c008, error code:0x500
gles_state_set_error_internal:63: GLES error info:<target> is not an accepted value
The device uses GPU model as adreno 510.
HELP!
Don' t know where to start to figure out this error.
From the error only, it seems that your OpenGL implementation is returning GL_INVALID_ENUM from some operation. However, without providing any source code, it's difficult to understand what you're trying to do and what is failing.
A wild guess though : Are you trying to call glGetTexImage with an invalid value ?
Thanks for your reply, I've debugged this problem with the MGD, and the error is returned from the call:
glBindTexture(GL_TEXTURE, 0);
And I got thousands of errors per frame.
In the project there is only one place references to the glBindTexture(GL_TEXTURE, 0) :
The opengl doc says :The value zero is reserved to represent the default texture for each texture target.
So I'm not sure what the problem is , and why this line would return an error continuously.
Thanks!
Obviously this is an error made so uncarefully by my collegues. And it costed me so much efforts to figure it out since I'm not familiar with the API.
Thanks again, myy and everybody else.
View all questions in Graphics and Gaming forum