Hi
Is there a function, which takes the value of glGetError and creates a readable string out of it?
Thanks,
Jan.
Hi
Is there a function, which takes the value of glGetError and creates a readable string out of it?
Thanks,
Jan.
const GLubyte* gluErrorString(GLenum errorCode);
GLenum errCode;
const GLubyte *errString;
if ((errCode = glGetError()) !=
GL_NO_ERROR)
{
errString = gluErrorString(errCode);
}
Is that what u r searching for?
Yes, thanks!