Converted *.allocateDirect to BufferUtils

This commit is contained in:
Elias Naur 2004-07-29 11:41:11 +00:00
parent 42cd6ddb20
commit 72afa14aa3
4 changed files with 8 additions and 5 deletions

View file

@ -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,