mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-21 06:14:10 +00:00
Move native stub initialization from extgl into GLContext.java. Makes it much easier to
exlude extensions classes. Furthermore, GLContext.useContext(null) can now be used to reset the native stubs when no context is current.
This commit is contained in:
parent
2cc7e0d02f
commit
15934fd6e7
122 changed files with 842 additions and 1033 deletions
|
|
@ -94,6 +94,8 @@ public final class ARBVertexShader {
|
|||
public static final int GL_FLOAT_MAT3_ARB = 0x8B5B;
|
||||
public static final int GL_FLOAT_MAT4_ARB = 0x8B5C;
|
||||
|
||||
static native void initNativeStubs();
|
||||
|
||||
// ---------------------------
|
||||
public static void glBindAttribLocationARB(int programObj, int index, ByteBuffer name) {
|
||||
if ( name.get(name.limit() - 1) != 0 ) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue