Howdy all,
Reading the following thread ( http://www.java-gaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=jogl;action=display;num=1106324571 ), i’ve come to think about the way gl functions are meant to be used and the way they can be use with lwjgl.
// c code
int textureName;
glGenTextures( 1, &textureName );
// java + lwjgl code
IntBuffer textureNames = BufferUtils.createIntBuffer(1);
GL11.glGenTextures( textureNames );
int textureName = textureNames.get(0);
Well … a bit messy isn’t it ?
Is there any hope to see a method like int glGenTextures() in GL11 ?
The same is true for some other gl functions like glGetInteger, glGetDouble, etc.
Regards.

