This commit is contained in:
Kovid Goyal 2016-11-02 21:27:46 +05:30
parent 3ecf3751ef
commit cded235526

View File

@ -29,7 +29,7 @@ static int _enable_error_checking = 1;
case GL_STACK_UNDERFLOW: \
PyErr_SetString(PyExc_OverflowError, "An attempt has been made to perform an operation that would cause an internal stack to underflow. (GL_STACK_UNDERFLOW)"); break; \
case GL_STACK_OVERFLOW: \
PyErr_SetString(PyExc_OverflowError, "An attempt has been made to perform an operation that would cause an internal stack to underflow. (GL_STACK_UNDERFLOW)"); break; \
PyErr_SetString(PyExc_OverflowError, "An attempt has been made to perform an operation that would cause an internal stack to underflow. (GL_STACK_OVERFLOW)"); break; \
default: \
PyErr_SetString(PyExc_RuntimeError, "An unknown OpenGL error occurred."); break; \
}