From 08ecaceb0798f7f2917a3d916aa155e2682e5dbf Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Sat, 18 Sep 2010 05:50:39 +0200 Subject: CLGLContext.create() makes GLContext current (restored old behavior). CLGLTest: make gl context current right after init (jogl bug workaround) --- src/com/jogamp/opencl/gl/CLGLContext.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/com/jogamp') 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(); -- cgit v1.2.3