aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/jogamp/opencl/gl/CLGLContext.java
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2011-05-28 13:51:04 +0200
committerMichael Bien <[email protected]>2011-05-28 13:51:04 +0200
commitc06bdd44da347a55d69cc764ecbe698e80db99be (patch)
tree06d3fca6f4969718a77b5aa406984c1d9d2151f1 /src/com/jogamp/opencl/gl/CLGLContext.java
parent098144aa185f396933c52af6c59201add4978b21 (diff)
CLContext uses now CLContextBinding interface.
Diffstat (limited to 'src/com/jogamp/opencl/gl/CLGLContext.java')
-rw-r--r--src/com/jogamp/opencl/gl/CLGLContext.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/jogamp/opencl/gl/CLGLContext.java b/src/com/jogamp/opencl/gl/CLGLContext.java
index e688717f..f7214b6e 100644
--- a/src/com/jogamp/opencl/gl/CLGLContext.java
+++ b/src/com/jogamp/opencl/gl/CLGLContext.java
@@ -99,7 +99,7 @@ public final class CLGLContext extends CLContext {
long[] glID = new long[1];
NativeSizeBuffer properties = setupContextProperties(platform, glContext, glID);
ErrorDispatcher dispatcher = createErrorHandler();
- long clID = createContextFromType(dispatcher, properties, toDeviceBitmap(deviceTypes));
+ long clID = createContextFromType(platform, dispatcher, properties, toDeviceBitmap(deviceTypes));
return new CLGLContext(platform, glContext, clID, glID[0], dispatcher);
@@ -123,7 +123,7 @@ public final class CLGLContext extends CLContext {
long[] glID = new long[1];
NativeSizeBuffer properties = setupContextProperties(platform, glContext, glID);
ErrorDispatcher dispatcher = createErrorHandler();
- long clID = createContext(dispatcher, properties, devices);
+ long clID = createContext(platform, dispatcher, properties, devices);
CLGLContext context = new CLGLContext(platform, glContext, clID, glID[0], dispatcher);
if(devices != null) {