summaryrefslogtreecommitdiffstats
path: root/src/com/mbien/opencl/CLImage.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/CLImage.java
parent8b6228d7978c515d1d8de160c45fe52b77874779 (diff)
refactorings due to newly introduced Int64Buffer in gluegen.
Diffstat (limited to 'src/com/mbien/opencl/CLImage.java')
-rw-r--r--src/com/mbien/opencl/CLImage.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/mbien/opencl/CLImage.java b/src/com/mbien/opencl/CLImage.java
index 1718ac3a..5a6ebb41 100644
--- a/src/com/mbien/opencl/CLImage.java
+++ b/src/com/mbien/opencl/CLImage.java
@@ -1,6 +1,6 @@
package com.mbien.opencl;
-import com.jogamp.gluegen.runtime.PointerBuffer;
+import com.jogamp.gluegen.runtime.Int64Buffer;
import java.nio.Buffer;
import static com.mbien.opencl.CL.*;
@@ -81,7 +81,7 @@ public abstract class CLImage<B extends Buffer> extends CLMemory<B> {
this.id = id;
}
@Override
- public int getInfo(int name, long valueSize, Buffer value, PointerBuffer valueSizeRet) {
+ public int getInfo(int name, long valueSize, Buffer value, Int64Buffer valueSizeRet) {
return cl.clGetImageInfo(id, name, valueSize, value, valueSizeRet);
}
}