gluErrorString(3G) OpenGL Reference gluErrorString(3G)
NAME
gluErrorString - produce an error string from an OpenGL or GLU error code
C SPECIFICATION
const GLubyte * gluErrorString( GLenum error )
PARAMETERS
error Specifies an OpenGL or GLU error code.
DESCRIPTION
gluErrorString produces an error string from an OpenGL or GLU error code.
The string is in an ISO Latin 1 format. For example,
gluErrorString(GLOUTOFMEMORY) returns the string out of memory.
The standard GLU error codes are GLUINVALIDENUM, GLUINVALIDVALUE, and
GLUOUTOFMEMORY. Certain other GLU functions can return specialized
error codes through callbacks. Refer to the glGetError reference page
for the list of OpenGL error codes.
SEE ALSO
glGetError, gluNurbsCallback, gluQuadricCallback, gluTessCallback
Page 1