diff options
Diffstat (limited to 'src/com/mbien/opencl/gl/CLGLContext.java')
-rw-r--r-- | src/com/mbien/opencl/gl/CLGLContext.java | 4 |
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 |