From 454f81a14da543faebae4c8e6adebb3256a2e646 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 1 May 2011 06:56:02 +0200 Subject: Sync w/ gluegen change 8f8aa3f73e3c9804c4a86f5d4fdac257d50d831a / PointerBuffer's elementSize() is no more static --- src/com/jogamp/opencl/CLCommandQueue.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/com/jogamp/opencl/CLCommandQueue.java') 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)); -- cgit v1.2.3