Renamed CoreGL* to GL* and merged CoreGL*Constants

This commit is contained in:
Elias Naur 2004-01-20 11:19:13 +00:00
parent 038108fb76
commit 6deb142378
41 changed files with 13243 additions and 312 deletions

View file

@ -39,6 +39,7 @@ import java.nio.*;
* @author cix_foo <cix_foo@users.sourceforge.net>
* @version $Revision$
*/
abstract class Util {
private final static IntBuffer int_buffer = ByteBuffer.allocateDirect(4).order(ByteOrder.nativeOrder()).asIntBuffer();
/**
@ -58,7 +59,7 @@ abstract class Util {
}
static int getGLInteger(int gl_enum) {
CoreGL11.glGetInteger(gl_enum, int_buffer);
GL11.glGetInteger(gl_enum, int_buffer);
return int_buffer.get(0);
}
}