Export (0) Print
Expand All

Handling Errors

The gluErrorString function retrieves error strings that correspond to OpenGL or GLU error codes. The currently defined OpenGL error codes are described in glGetError. The GLU error codes are listed in gluErrorString, gluTessCallback, gluQuadricCallback, and gluNurbsCallback.

The return value for gluErrorString is a pointer to a descriptive string that corresponds to the OpenGL, GLU, or GLX error number passed in the errorCode parameter. The defined error codes are described in the OpenGL Reference Manual along with the function or function that can generate them.

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Community Additions

ADD
Show:
© 2014 Microsoft