summaryrefslogtreecommitdiffstats
path: root/src/com/mbien/opencl/CLSampler.java
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-03-30 17:19:15 +0200
committerMichael Bien <[email protected]>2010-03-30 17:19:15 +0200
commit9ec0937d729faade497a3d2a394f76992dcdaa45 (patch)
tree5ae54ffaf676f988609e66f6a88858f468f296bf /src/com/mbien/opencl/CLSampler.java
parent8b6228d7978c515d1d8de160c45fe52b77874779 (diff)
refactorings due to newly introduced Int64Buffer in gluegen.
Diffstat (limited to 'src/com/mbien/opencl/CLSampler.java')
-rw-r--r--src/com/mbien/opencl/CLSampler.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/mbien/opencl/CLSampler.java b/src/com/mbien/opencl/CLSampler.java
index 8b7c9386..f5c74f6e 100644
--- a/src/com/mbien/opencl/CLSampler.java
+++ b/src/com/mbien/opencl/CLSampler.java
@@ -1,5 +1,6 @@
package com.mbien.opencl;
+import com.jogamp.gluegen.runtime.Int64Buffer;
import com.jogamp.gluegen.runtime.PointerBuffer;
import java.nio.Buffer;
@@ -57,7 +58,7 @@ public class CLSampler extends CLObject implements CLResource {
private class CLSamplerInfoAccessor extends CLInfoAccessor {
@Override
- protected int getInfo(int name, long valueSize, Buffer value, PointerBuffer valueSizeRet) {
+ protected int getInfo(int name, long valueSize, Buffer value, Int64Buffer valueSizeRet) {
return cl.clGetSamplerInfo(ID, name, valueSize, value, valueSizeRet);
}