summaryrefslogtreecommitdiffstats
path: root/test/com/jogamp/opencl
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-08-18 16:38:56 +0200
committerSven Gothel <[email protected]>2012-08-18 16:38:56 +0200
commit26ca1c43c6a571d0fd686b0962343c4bcbc62e82 (patch)
tree39a0ccd4b2f8a96d0174bcc55156ea6ed31c295b /test/com/jogamp/opencl
parent8599a753ff0a885d3de42c6597d07bdde603b709 (diff)
Adapt to GlueGen ARM Build Changes 422d7a5eb53fca6642ebf4e8910d8b0311bb2597 ; Remove JOGL GLProfile.initSingleton(boolean) call in CLGL test
Diffstat (limited to 'test/com/jogamp/opencl')
-rw-r--r--test/com/jogamp/opencl/gl/CLGLTest.java10
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);