summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-09-18 05:50:39 +0200
committerMichael Bien <[email protected]>2010-09-18 05:50:39 +0200
commit08ecaceb0798f7f2917a3d916aa155e2682e5dbf (patch)
tree6426f1bc8cd28f07deccd463a5c746db0df2a96e /src
parent9870937703113993072e0bfa1fc9dce0a138278d (diff)
CLGLContext.create() makes GLContext current (restored old behavior).
CLGLTest: make gl context current right after init (jogl bug workaround)
Diffstat (limited to 'src')
-rw-r--r--src/com/jogamp/opencl/gl/CLGLContext.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/jogamp/opencl/gl/CLGLContext.java b/src/com/jogamp/opencl/gl/CLGLContext.java
index 7ce4c766..74da453d 100644
--- a/src/com/jogamp/opencl/gl/CLGLContext.java
+++ b/src/com/jogamp/opencl/gl/CLGLContext.java
@@ -120,7 +120,7 @@ public final class CLGLContext extends CLContext {
}
// context must be current
-// glContext.makeCurrent();
+ glContext.makeCurrent();
GLContextImpl ctxImpl = (GLContextImpl)glContext;
glID[0] = glContext.getHandle();