mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-07 15:35:09 +00:00
The BIG LWJGL REFACTORING
This commit is contained in:
parent
84cc336d9d
commit
6917a1e1de
12 changed files with 119 additions and 51 deletions
|
|
@ -59,6 +59,12 @@ public class ARBTextureCompression
|
|||
public static final int GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB = 0x86A2;
|
||||
public static final int GL_COMPRESSED_TEXTURE_FORMATS_ARB = 0x86A3;
|
||||
|
||||
static {
|
||||
BufferChecks.putGetMap(GL_TEXTURE_COMPRESSION_HINT_ARB, 1);
|
||||
BufferChecks.putGetMap(GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB, 1);
|
||||
BufferChecks.putGetMap(GL_COMPRESSED_TEXTURE_FORMATS_ARB, 1);
|
||||
}
|
||||
|
||||
public static void glCompressedTexImage1DARB(int target, int level, int internalformat, int width, int border, int imageSize, ByteBuffer pData) {
|
||||
// TODO: Check buffer size
|
||||
nglCompressedTexImage1DARB(target, level, internalformat, width, border, imageSize, pData, pData.position());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue