Produces an error string from an OpenGL or GLU error code.
OpenGL C bindings library: libGL.a
const Glubyte * gluErrorString( GLenum error)
The gluErrorString subroutine produces an error string from an OpenGL or GLU error code. The format of the string is ISO_Latin_1. For example, the code line
gluErrorString(GL_OUT_OF_MEMORY)
returns the out of memory string.
The standard GLU error codes are GLU_INVALID_ENUM, GLU_INVALID_VALID, and GLU_OUT_OF_MEMORY. Certain other GLU functions can return specialized error codes through callbacks. See the glGetError subroutine for a list of OpenGL error codes.
error | Specifies an OpenGL or GLU error code. |
The standard GLU error codes are:
/usr/include/GL/gl.h | Contains C language constraints, variable type definitions, and ANSI function prototypes for OpenGL. |
The glGetError subroutine, gluNurbsCallback subroutine, gluQuadricCallback subroutine, gluTessCallback subroutine.