summaryrefslogtreecommitdiffstats
path: root/src/redbook/src/glredbook10/chess.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/redbook/src/glredbook10/chess.java')
-rw-r--r--src/redbook/src/glredbook10/chess.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/redbook/src/glredbook10/chess.java b/src/redbook/src/glredbook10/chess.java
index fcbf4e9..beb9f7a 100644
--- a/src/redbook/src/glredbook10/chess.java
+++ b/src/redbook/src/glredbook10/chess.java
@@ -26,7 +26,7 @@ public class chess//
private static final int color = 3;
// private byte checkImage[][][] = new byte[checkImageWidth][checkImageHeight][color];
private ByteBuffer checkImageBuf = //
- BufferUtil.newByteBuffer(checkImageHeight * checkImageWidth * color);
+ GLBuffers.newDirectByteBuffer(checkImageHeight * checkImageWidth * color);
@Override
protected GLJPanel createDrawable() {