This means "GL_INVALID_ENUM" - somewhere you passed an invalid GLenum. This is defined in the gl.h header file. Indeed - this is not very useful.
EDIT: My strategy for dealing with these errors is to surround OpenGL calls with a macro that claims everything is fine (glGetError () GL_NO_ERROR). They are going for performance tests.
source
share