diff options
author | Michael Bien <[email protected]> | 2010-05-31 19:51:46 +0200 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-05-31 19:51:46 +0200 |
commit | c5b1dc47f398597a127ebb7cdf72ab324b08a174 (patch) | |
tree | 690599a569f5f5a78f190eff45e414b4574759fd /src/com/jogamp/opencl/CLEvent.java | |
parent | 8a5bbd80a3ffc3154b637e0b6c40342dfacb3576 (diff) |
changes due to gluegen size_t fix. Switched back to PointerBuffer. 32bit systems are now supported again.
Diffstat (limited to 'src/com/jogamp/opencl/CLEvent.java')
-rw-r--r-- | src/com/jogamp/opencl/CLEvent.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/jogamp/opencl/CLEvent.java b/src/com/jogamp/opencl/CLEvent.java index 46b92a6d..bf4ac690 100644 --- a/src/com/jogamp/opencl/CLEvent.java +++ b/src/com/jogamp/opencl/CLEvent.java @@ -1,6 +1,6 @@ package com.jogamp.opencl; -import com.jogamp.common.nio.Int64Buffer; +import com.jogamp.common.nio.PointerBuffer; import java.nio.Buffer; import static com.jogamp.opencl.CL.*; @@ -93,7 +93,7 @@ public class CLEvent extends CLObject implements CLResource { private class CLEventInfoAccessor extends CLInfoAccessor { @Override - protected int getInfo(int name, long valueSize, Buffer value, Int64Buffer valueSizeRet) { + protected int getInfo(int name, long valueSize, Buffer value, PointerBuffer valueSizeRet) { return cl.clGetEventInfo(ID, name, valueSize, value, valueSizeRet); } @@ -102,7 +102,7 @@ public class CLEvent extends CLObject implements CLResource { private class CLEventProfilingInfoAccessor extends CLInfoAccessor { @Override - protected int getInfo(int name, long valueSize, Buffer value, Int64Buffer valueSizeRet) { + protected int getInfo(int name, long valueSize, Buffer value, PointerBuffer valueSizeRet) { return cl.clGetEventProfilingInfo(ID, name, valueSize, value, valueSizeRet); } |