diff options
author | Michael Bien <[email protected]> | 2010-09-23 21:33:17 +0200 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-09-23 21:33:17 +0200 |
commit | d92af6dd7116883d674d1536c72bf7d62116d7dc (patch) | |
tree | d7c2688942cea4de579001a0aae47dc925e7c4f8 /test/com/jogamp/opencl | |
parent | d2f1955832dda891cb6d711c43bcb59e7199a38c (diff) |
last JOGL API changes broke the GLCL junit test. Fixed it.
Diffstat (limited to 'test/com/jogamp/opencl')
-rw-r--r-- | test/com/jogamp/opencl/gl/CLGLTest.java | 3 |
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 e2864822..f05c4d55 100644 --- a/test/com/jogamp/opencl/gl/CLGLTest.java +++ b/test/com/jogamp/opencl/gl/CLGLTest.java @@ -42,7 +42,7 @@ public class CLGLTest { Screen screen = NewtFactory.createScreen(display, 0); // screen 0 assertNotNull(screen); - Window window = NewtFactory.createWindow(screen, new GLCapabilities(GLProfile.getDefault()), false /* undecorated */); + Window window = NewtFactory.createWindow(screen, new GLCapabilities(GLProfile.getDefault())); assertNotNull(window); window.setSize(640, 480); @@ -88,6 +88,7 @@ public class CLGLTest { } assumeNotNull(glcontext); + out.println(device.getPlatform()); CLContext context = CLGLContext.create(glcontext, device); assertNotNull(context); assertTrue(glcontext.isCurrent()); |