mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-04 22:17:59 +00:00
Converted various GL sizes to buffer.remaining()
This commit is contained in:
parent
11404dc8a1
commit
907d5f083d
14 changed files with 177 additions and 176 deletions
|
|
@ -85,7 +85,7 @@ public final class Sys {
|
|||
/**
|
||||
* The ByteBuffer equivalent of the native NULL constant
|
||||
*/
|
||||
public static final ByteBuffer NULL;
|
||||
// public static final ByteBuffer NULL;
|
||||
|
||||
|
||||
private static boolean _debug;
|
||||
|
|
@ -102,7 +102,7 @@ public final class Sys {
|
|||
} finally {
|
||||
DEBUG = _debug;
|
||||
initialize();
|
||||
NULL = nGetNULLValue();
|
||||
// NULL = nGetNULLValue();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -132,7 +132,7 @@ public final class Sys {
|
|||
/**
|
||||
* Gets the native NULL constant value
|
||||
*/
|
||||
private static native ByteBuffer nGetNULLValue();
|
||||
// private static native ByteBuffer nGetNULLValue();
|
||||
|
||||
/**
|
||||
* Create a buffer representing an integer index. Use it with functions that in C can take
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue