diff options
author | Michael Bien <[email protected]> | 2010-09-18 05:50:39 +0200 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-09-18 05:50:39 +0200 |
commit | 08ecaceb0798f7f2917a3d916aa155e2682e5dbf (patch) | |
tree | 6426f1bc8cd28f07deccd463a5c746db0df2a96e /src/com/jogamp/opencl/gl/CLGLContext.java | |
parent | 9870937703113993072e0bfa1fc9dce0a138278d (diff) |
CLGLContext.create() makes GLContext current (restored old behavior).
CLGLTest: make gl context current right after init (jogl bug workaround)
Diffstat (limited to 'src/com/jogamp/opencl/gl/CLGLContext.java')
-rw-r--r-- | src/com/jogamp/opencl/gl/CLGLContext.java | 2 |
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(); |