gluErrorString - produce an error string from an OpenGL or GLU error code
const GLubyte* gluErrorString( GLenum errorCode )
errorCode Specifies an OpenGL or GLU error code.
gluErrorString produces an error string from an OpenGL or GLU error code. The string is in an ISO Latin 1 format. For example, gluErrorString(GL_OUT_OF_MEMORY) returns the string out of memory. The standard GLU error codes are GLU_INVALID_ENUM, GLU_INVALID_VALUE, and GLU_OUT_OF_MEMORY. Certain other GLU functions can return specialized error codes through callbacks. Refer to the glGetError reference page for the list of OpenGL error codes.
glGetError, gluNurbsCallback, gluQuadricCallback, gluTessCallback
Introduction | Alphabetic | Specification
Last Edited: Mon, May 22, 1995