aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/jogamp/opencl/CLCommandQueue.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-05-01 06:56:02 +0200
committerSven Gothel <[email protected]>2011-05-01 06:56:02 +0200
commit454f81a14da543faebae4c8e6adebb3256a2e646 (patch)
tree0ebb654ae2c7e943c0c0844abbf45948b2506a49 /src/com/jogamp/opencl/CLCommandQueue.java
parent493ff62aa94c224a7b5db6ea092e3c80ff0205bc (diff)
Sync w/ gluegen change 8f8aa3f73e3c9804c4a86f5d4fdac257d50d831a / PointerBuffer's elementSize() is no more static
Diffstat (limited to 'src/com/jogamp/opencl/CLCommandQueue.java')
-rw-r--r--src/com/jogamp/opencl/CLCommandQueue.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/jogamp/opencl/CLCommandQueue.java b/src/com/jogamp/opencl/CLCommandQueue.java
index d24fb115..30757bad 100644
--- a/src/com/jogamp/opencl/CLCommandQueue.java
+++ b/src/com/jogamp/opencl/CLCommandQueue.java
@@ -74,7 +74,7 @@ public class CLCommandQueue extends CLObject implements CLResource {
this.device = device;
this.properties = properties;
- int pbsize = PointerBuffer.elementSize();
+ int pbsize = PointerBuffer.ELEMENT_SIZE;
CachedBufferFactory factory = CachedBufferFactory.create(9*pbsize + 4, true);
this.ibA = PointerBuffer.wrap(factory.newDirectByteBuffer(3*pbsize));