GLenum in LWJGL? Where?

Started by brain56, January 19, 2012, 09:42:37

Previous topic - Next topic

brain56

OK, this is either a dumb or an invalid question.    ;D

I found a tutorial regarding frame buffers here http://www.swiftless.com/tutorials/opengl/framebuffer.html.

In the tutorial, there is a mention of a class called GLenum, which is supposedly for error-checking. My concern now is that I can't find the package to which it belongs (See? Dumb.). I've Googled it and everything and saw results of import lines concerning the class but they appear to be in a package that isn't included in the standard LWJGL distribution.  ???

I need help, thank you.  ;D

spasi

GLenum is just a typedef to unsigned int. In LWJGL it's simply an int. So wherever you see a GLenum/GLsizei/GLuint in C code, replace it with an int in the Java version.