mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-07 15:35:09 +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
|
|
@ -51,6 +51,8 @@ public final class ARBTextureCompression
|
|||
public static final int GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB = 0x86A2;
|
||||
public static final int GL_COMPRESSED_TEXTURE_FORMATS_ARB = 0x86A3;
|
||||
|
||||
static native void initNativeStubs();
|
||||
|
||||
public static void glCompressedTexImage1DARB(int target, int level, int internalformat, int width, int border, int imageSize, ByteBuffer pData) {
|
||||
nglCompressedTexImage1DARB(target, level, internalformat, width, border, imageSize, pData, pData.position());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue