From 26ca1c43c6a571d0fd686b0962343c4bcbc62e82 Mon Sep 17 00:00:00 2001
From: Sven Gothel <sgothel@jausoft.com>
Date: Sat, 18 Aug 2012 16:38:56 +0200
Subject: Adapt to GlueGen ARM Build Changes
 422d7a5eb53fca6642ebf4e8910d8b0311bb2597 ; Remove JOGL
 GLProfile.initSingleton(boolean) call in CLGL test

---
 test/com/jogamp/opencl/gl/CLGLTest.java | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

(limited to 'test/com/jogamp')

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);
-- 
cgit v1.2.3