Hello Guest

Post GL11

  • 2 Replies
Post GL11
« on: August 17, 2010, 19:58:27 »
This is probably a bone question but if you are planning on using versions of OpenGL higher than 1.1 do you still have to fall back on using the GL11 class for the majority of the OpenGL functions as they appear to be missing in the GL12+ classes.

Re: Post GL11
« Reply #1 on: August 17, 2010, 20:09:19 »
Yes, this has been answered several times. And as you was not able to find it on the forum I'm posting a short summary:
In LWJGL the functions and enums are added to the class corresponding to the GL version / extension which first introduced them.
For example GL11.glBindTexture is still in use for GL 3.x or higher.

Re: Post GL11
« Reply #2 on: August 18, 2010, 00:13:06 »
At first, this confused me, too. But now I think it's quite good like that.