diff options
author | Sven Gothel <[email protected]> | 2011-08-31 02:28:18 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-08-31 02:28:18 +0200 |
commit | 490a6ebf64d767f5395554da78dda96ebb59b0fc (patch) | |
tree | 2fb404b98e8dfd8b061aeef22f51b30804868e3c /src/test/com/jogamp | |
parent | 980aad0b8c6ba60d1d8c64d4af95c156362a5beb (diff) |
Unit Tests: Remove redundant GLProfile.initSingleton(boolean) calls
Diffstat (limited to 'src/test/com/jogamp')
3 files changed, 0 insertions, 13 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 1400a1083..5af526364 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 @@ -46,10 +46,6 @@ import org.junit.Test; public class TestGLExtensionQueryOffscreen { - static { - // redundant, since implicit (false): GLProfile.initSingleton(false); - } - public static void main(String[] args) { TestGLExtensionQueryOffscreen instance = new TestGLExtensionQueryOffscreen(); instance.testJogl2ExtensionCheck1(); 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 b456eec66..2de0fb81f 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 @@ -470,11 +470,6 @@ public class ElektronenMultiplizierer implements GLEventListener { //BEGIN --- main entry point --- - static { - // Since we only use NEWT, allow X11 to be multithreaded w/o locking - GLProfile.initSingleton(true); - } - public static void main(String args[]) throws Exception { String tRoutineClassName = null; boolean tMultiSampling = false; diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/glsl/TestGLSLSimple01NEWT.java b/src/test/com/jogamp/opengl/test/junit/jogl/glsl/TestGLSLSimple01NEWT.java index 55cc1fb76..b683cb2e7 100644 --- a/src/test/com/jogamp/opengl/test/junit/jogl/glsl/TestGLSLSimple01NEWT.java +++ b/src/test/com/jogamp/opengl/test/junit/jogl/glsl/TestGLSLSimple01NEWT.java @@ -52,10 +52,6 @@ import javax.media.opengl.GL2ES2; import org.junit.AfterClass; public class TestGLSLSimple01NEWT extends UITestCase { - static { - GLProfile.initSingleton(true); - } - static long durationPerTest = 100; // ms @BeforeClass |