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.

 

 

 

Show: