diff options
Diffstat (limited to 'src')
5 files changed, 5 insertions, 5 deletions
diff --git a/src/newt/classes/jogamp/newt/driver/awt/opengl/VersionApplet.java b/src/newt/classes/jogamp/newt/driver/awt/opengl/VersionApplet.java index ae0a790dd..edcb91378 100644 --- a/src/newt/classes/jogamp/newt/driver/awt/opengl/VersionApplet.java +++ b/src/newt/classes/jogamp/newt/driver/awt/opengl/VersionApplet.java @@ -29,7 +29,7 @@ import com.jogamp.opengl.JoglVersion; public class VersionApplet extends Applet { static { - GLProfile.initSingleton(false); + // redundant, since implicit (false): GLProfile.initSingleton(false); } TextArea tareaVersion; TextArea tareaCaps; 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; |