The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

OpenGL Error Codes

OpenGL includes the following error codes.

Error codeDescription
GL_INVALID_ENUMGLenum argument out of range.
GL_INVALID_VALUENumeric argument out of range.
GL_INVALID_OPERATIONOperation illegal in current state.
GL_STACK_OVERFLOWFunction would cause a stack overflow.
GL_STACK_UNDERFLOWFunction would cause a stack underflow.
GL_OUT_OF_MEMORYNot enough memory left to execute function.