PDA

View Full Version : GL error: invalid enumerant



ym
07-25-2001, 10:19 AM
what is this mean?

mikael_aronsson
07-25-2001, 02:11 PM
It means that you passed an invalid parameter to an OpenGL function, for example if you would do:

glDisable( GL_LINE_LOOP) you would get this error as the GL_LINE_LOOP is intended to be used with glBegin(...).

Hope that helps.
Mikael