From d92af6dd7116883d674d1536c72bf7d62116d7dc Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Thu, 23 Sep 2010 21:33:17 +0200 Subject: last JOGL API changes broke the GLCL junit test. Fixed it. --- test/com/jogamp/opencl/gl/CLGLTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/com/jogamp') 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()); -- cgit v1.2.3