gluErrorString()gluErrorString()NAMEgluErrorString - produce an error string from a GL or GLU error code
SYNOPSIS
const GLubyte * gluErrorString(
GLenum error );
PARAMETERS
Specifies a GL or GLU error code.
DESCRIPTIONgluErrorString() produces an error string from a GL or GLU error code.
The string is in ISO Latin 1 format. For example, gluEr‐
rorString()(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 special‐
ized error codes through callbacks. See the glGetError() reference
page for the list of GL error codes.
SEE ALSOglGetError(3), gluNurbsCallback(3), gluQuadricCallback(3), gluTessCall‐
back(3)gluErrorString()