LWJGL
May 18, 2013, 08:58:00 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL 2.9.0 released!
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: GLenum in LWJGL? Where?  (Read 688 times)
brain56
Newbie
*
Posts: 2


« on: January 19, 2012, 01:42:37 »

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

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.  Huh

I need help, thank you.  Grin
Logged
spasi
Nerdus Imperius
*****
Posts: 752



WWW
« Reply #1 on: January 19, 2012, 05:33:55 »

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.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!