summaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-08-30 15:42:10 +0200
committerSven Gothel <[email protected]>2011-08-30 15:42:10 +0200
commit6ed38932604db50b5e62d5ee6e2d0385810bb67c (patch)
tree804dadb6dad942bae194acbdf67677c6fcc967e9 /src/test
parent1ac5a3f0643a761d2d9e217883da73ad993a91b9 (diff)
Tests: Comment GLProfile.initSingleton(false), which is redundant / implicit.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/com/jogamp/opengl/test/junit/jogl/acore/TestGLExtensionQueryOffscreen.java2
-rw-r--r--src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/ElektronenMultiplizierer.java2
-rw-r--r--src/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/awt/TestGearsGLJPanelAWT.java2
-rw-r--r--src/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/awt/TestGearsGLJPanelAWTBug450.java2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestGLExtensionQueryOffscreen.java b/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestGLExtensionQueryOffscreen.java
index a7d57a9a9..1400a1083 100644
--- a/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestGLExtensionQueryOffscreen.java
+++ b/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestGLExtensionQueryOffscreen.java
@@ -47,7 +47,7 @@ import org.junit.Test;
public class TestGLExtensionQueryOffscreen {
static {
- GLProfile.initSingleton(false);
+ // redundant, since implicit (false): GLProfile.initSingleton(false);
}
public static void main(String[] args) {
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/ElektronenMultiplizierer.java b/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/ElektronenMultiplizierer.java
index a1233b2a6..b456eec66 100644
--- a/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/ElektronenMultiplizierer.java
+++ b/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/ElektronenMultiplizierer.java
@@ -471,7 +471,7 @@ public class ElektronenMultiplizierer implements GLEventListener {
//BEGIN --- main entry point ---
static {
- //stg dirty I dont wanna think about any further X-) ...
+ // Since we only use NEWT, allow X11 to be multithreaded w/o locking
GLProfile.initSingleton(true);
}
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/awt/TestGearsGLJPanelAWT.java b/src/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/awt/TestGearsGLJPanelAWT.java
index 80463741d..1b07e6523 100644
--- a/src/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/awt/TestGearsGLJPanelAWT.java
+++ b/src/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/awt/TestGearsGLJPanelAWT.java
@@ -53,7 +53,7 @@ public class TestGearsGLJPanelAWT extends UITestCase {
@BeforeClass
public static void initClass() {
- GLProfile.initSingleton(false);
+ // redundant, since implicit (false): GLProfile.initSingleton(false);
glp = GLProfile.getDefault();
Assert.assertNotNull(glp);
width = 512;
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/awt/TestGearsGLJPanelAWTBug450.java b/src/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/awt/TestGearsGLJPanelAWTBug450.java
index 425e83103..6841dcf62 100644
--- a/src/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/awt/TestGearsGLJPanelAWTBug450.java
+++ b/src/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/awt/TestGearsGLJPanelAWTBug450.java
@@ -68,7 +68,7 @@ public class TestGearsGLJPanelAWTBug450 extends UITestCase {
@BeforeClass
public static void initClass() {
- GLProfile.initSingleton(false);
+ // redundant, since implicit (false): GLProfile.initSingleton(false);
glp = GLProfile.getDefault();
Assert.assertNotNull(glp);
width = 512;