summaryrefslogtreecommitdiffstats
path: root/src/jbullet
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-03-29 15:38:31 +0200
committerMichael Bien <[email protected]>2010-03-29 15:38:31 +0200
commit0b708395a18eb6a2ae5372ff414bc75830ce19b6 (patch)
treef2cc555a6085f15972c319311dd01aa734b42b86 /src/jbullet
parent19528b880625ee830ab03cb2724311a874240fe8 (diff)
modifications due to refactorings in gluegen and jogl.
Diffstat (limited to 'src/jbullet')
-rw-r--r--src/jbullet/src/javabullet/demos/opengl/GLSRT.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jbullet/src/javabullet/demos/opengl/GLSRT.java b/src/jbullet/src/javabullet/demos/opengl/GLSRT.java
index cdd4aef..a147202 100644
--- a/src/jbullet/src/javabullet/demos/opengl/GLSRT.java
+++ b/src/jbullet/src/javabullet/demos/opengl/GLSRT.java
@@ -141,7 +141,7 @@ public class GLSRT {
16, 19, 17, 18, 16, 17, /* right */
23, 20, 21, 20, 22, 21 /* left */
};
- private ByteBuffer cubeIndices=BufferUtil.newByteBuffer(s_cubeIndices);
+ private ByteBuffer cubeIndices=GLBuffers.newDirectByteBuffer(s_cubeIndices);
////////////////////////////////////////////////////////////////////////////