summaryrefslogtreecommitdiffstats
path: root/test/com
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-03-29 15:43:05 +0200
committerMichael Bien <[email protected]>2010-03-29 15:43:05 +0200
commit8b6228d7978c515d1d8de160c45fe52b77874779 (patch)
tree4a8a73a643dbaecfbf2014ada7aa010c8ae77219 /test/com
parent1c0265824a1a86e758abf7f0a0b1d1e43c5ef167 (diff)
modifications due to refactorings in gluegen and jogl.
Diffstat (limited to 'test/com')
-rw-r--r--test/com/mbien/opencl/CLBufferTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/com/mbien/opencl/CLBufferTest.java b/test/com/mbien/opencl/CLBufferTest.java
index 0c801c30..c62e17c8 100644
--- a/test/com/mbien/opencl/CLBufferTest.java
+++ b/test/com/mbien/opencl/CLBufferTest.java
@@ -2,7 +2,7 @@ package com.mbien.opencl;
import com.mbien.opencl.CLMemory.Mem;
import com.mbien.opencl.CLMemory.Map;
-import com.jogamp.opengl.util.BufferUtil;
+import com.jogamp.gluegen.runtime.Buffers;
import java.nio.ByteBuffer;
import org.junit.Test;
@@ -58,7 +58,7 @@ public class CLBufferTest {
CLContext context = CLContext.create();
- ByteBuffer buffer = BufferUtil.newByteBuffer(elements*SIZEOF_INT);
+ ByteBuffer buffer = Buffers.newDirectByteBuffer(elements*SIZEOF_INT);
// fill only first read buffer -> we will copy the payload to the second later.
fillBuffer(buffer, 12345);