mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-06 06:53:59 +00:00
Renamed CoreGL* to GL* and merged CoreGL*Constants
This commit is contained in:
parent
038108fb76
commit
6deb142378
41 changed files with 13243 additions and 312 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue