[Front] [Reference] [Imp. Guide] [Index]

gluErrorString
[Prev] [Next]

gluErrorString: produce an error string from a GL or GLU error code.

C Specification | Parameters | Description | See Also

[Up] C Specification

constGLubyte *gluErrorString(
    GLenum	 error)

[Up] Parameters

error
Specifies a GL or GLU error code.

[Up] Description

gluErrorString produces an error string from a GL or GLU error code. The string is in 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. See the glGetError reference page for the list of GL error codes.

[Up] See Also

glGetError,
gluNurbsCallback,
gluQuadricCallback,
gluTessCallback

[Prev] [Next]
Front Reference [Imp. Guide] Index