summaryrefslogtreecommitdiffstats
path: root/test/com
diff options
context:
space:
mode:
Diffstat (limited to 'test/com')
-rw-r--r--test/com/jogamp/opencl/gl/CLGLTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/com/jogamp/opencl/gl/CLGLTest.java b/test/com/jogamp/opencl/gl/CLGLTest.java
index 1fa582b8..e2864822 100644
--- a/test/com/jogamp/opencl/gl/CLGLTest.java
+++ b/test/com/jogamp/opencl/gl/CLGLTest.java
@@ -53,6 +53,7 @@ public class CLGLTest {
glWindow.setVisible(true);
glcontext = glWindow.getContext();
+ glcontext.makeCurrent();
out.println("useing glcontext:");
out.println(glcontext);
}
@@ -89,7 +90,7 @@ public class CLGLTest {
assumeNotNull(glcontext);
CLContext context = CLGLContext.create(glcontext, device);
assertNotNull(context);
-// assertTrue(glcontext.isCurrent());
+ assertTrue(glcontext.isCurrent());
try{
out.println(context);