Is there a standard for getting an error string from glGetError()
(Android and iOS) and eglGetError()
(Android) in OpenGL ES 1.1 or 2.0?
I'm using something like this:
#define AssertGL(x) { x; GLenum __gle = glGetError(); Assert(__gle == GL_NO_ERROR); }
Would be nice to enhance this to provide text to the debugger rather than having to look up the GLenum manually of the returned value stored in __gle
.