diff options
Diffstat (limited to 'test/com/jogamp/opencl/gl')
-rw-r--r-- | test/com/jogamp/opencl/gl/CLGLTest.java | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/test/com/jogamp/opencl/gl/CLGLTest.java b/test/com/jogamp/opencl/gl/CLGLTest.java index 464f1468..75cd35c2 100644 --- a/test/com/jogamp/opencl/gl/CLGLTest.java +++ b/test/com/jogamp/opencl/gl/CLGLTest.java @@ -74,15 +74,7 @@ public class CLGLTest { private static Window window; public static void initGL() { - GLProfile.initSingleton(true); - - Display display = NewtFactory.createDisplay(null); // local display - assertNotNull(display); - - Screen screen = NewtFactory.createScreen(display, 0); // screen 0 - assertNotNull(screen); - - window = NewtFactory.createWindow(screen, new GLCapabilities(GLProfile.getDefault())); + window = NewtFactory.createWindow(new GLCapabilities(GLProfile.getDefault())); assertNotNull(window); window.setSize(640, 480); |