summaryrefslogtreecommitdiffstats
path: root/src/com/mbien/opencl/gl/CLGLContext.java
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-04-01 00:38:46 +0200
committerMichael Bien <[email protected]>2010-04-01 00:38:46 +0200
commitfc0f84073394c6c06505f0c52215a72932b527c5 (patch)
tree7dafc9f55e0d24d8e28b4f96699c531ef26689f5 /src/com/mbien/opencl/gl/CLGLContext.java
parent11734980ca3a3457ed67fd054fa3041ba9b8040e (diff)
modifications due to class movement in gluegen.
Diffstat (limited to 'src/com/mbien/opencl/gl/CLGLContext.java')
-rw-r--r--src/com/mbien/opencl/gl/CLGLContext.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/mbien/opencl/gl/CLGLContext.java b/src/com/mbien/opencl/gl/CLGLContext.java
index 7aceccda..db9d6150 100644
--- a/src/com/mbien/opencl/gl/CLGLContext.java
+++ b/src/com/mbien/opencl/gl/CLGLContext.java
@@ -5,7 +5,7 @@ import com.mbien.opencl.CLDevice;
import java.nio.Buffer;
import com.mbien.opencl.CLMemory.Mem;
import com.mbien.opencl.CLPlatform;
-import com.jogamp.gluegen.runtime.PointerBuffer;
+import com.jogamp.common.nio.PointerBuffer;
import com.jogamp.opengl.impl.GLContextImpl;
import com.jogamp.opengl.impl.macosx.cgl.MacOSXCGLContext;
import com.jogamp.opengl.impl.windows.wgl.WindowsWGLContext;
@@ -148,7 +148,7 @@ public final class CLGLContext extends CLContext {
throw new RuntimeException("unsupported GLContext: "+glContext);
}
- return properties.put(0).rewind(); // 0 terminated array
+ return (PointerBuffer)properties.put(0).rewind(); // 0 terminated array
}
// Buffers