mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-08 07:54:05 +00:00
Converted *.allocateDirect to BufferUtils
This commit is contained in:
parent
42cd6ddb20
commit
72afa14aa3
4 changed files with 8 additions and 5 deletions
|
|
@ -234,7 +234,7 @@ public class Keyboard {
|
|||
private static boolean created;
|
||||
|
||||
/** The keys status from the last poll */
|
||||
private static final ByteBuffer keyDownBuffer = ByteBuffer.allocateDirect(256);
|
||||
private static final ByteBuffer keyDownBuffer = BufferUtils.createByteBuffer(256);
|
||||
|
||||
/**
|
||||
* The key events from the last read: a sequence of pairs of key number,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue