OpenGL Error Codes
OpenGL includes the following error codes.
| Symbolic | Code | Description |
|---|---|---|
| GL_INVALID_ENUM | GLenum argument out of range. | |
| GL_INVALID_VALUE | Numeric argument out of range. | |
| GL_INVALID_OPERATION | Operation illegal in current state. | |
| GL_STACK_OVERFLOW | Function would cause a stack overflow. | |
| GL_STACK_UNDERFLOW | Function would cause a stack underflow. | |
| GL_OUT_OF_MEMORY | Not enough memory left to execute function. | |
| 6 entries | ||
Article text from the Win32 documentation (opens in a new tab), by Microsoft, under the CC BY 4.0 (opens in a new tab) licence.