summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-06-12 02:42:24 +0200
committerSven Gothel <[email protected]>2011-06-12 02:42:24 +0200
commitfec792f54c29ea86a39330f1a2adb816003443a6 (patch)
treef8ea51085c4f0f03441efbedfda8cc0da875c397 /src
parent17e90844af05344e43588e97e947d1f540f9566f (diff)
Minor editing/cleanups: code/test
- Don't call "NativeWindowFactory.initSingleton(true);" after "GLProfile.initSingleton(true);", since it's redundant, the former call issues the removed one.
Diffstat (limited to 'src')
-rw-r--r--src/nativewindow/classes/jogamp/nativewindow/NullToolkitLock.java6
-rw-r--r--src/test/com/jogamp/opengl/test/junit/graph/TestRegionRendererNEWT01.java1
-rwxr-xr-xsrc/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT01.java1
3 files changed, 2 insertions, 6 deletions
diff --git a/src/nativewindow/classes/jogamp/nativewindow/NullToolkitLock.java b/src/nativewindow/classes/jogamp/nativewindow/NullToolkitLock.java
index 2056d205e..1af6bf279 100644
--- a/src/nativewindow/classes/jogamp/nativewindow/NullToolkitLock.java
+++ b/src/nativewindow/classes/jogamp/nativewindow/NullToolkitLock.java
@@ -42,10 +42,8 @@ public class NullToolkitLock implements ToolkitLock {
public final void lock() {
if(TRACE_LOCK) {
- String msg = "NullToolkitLock.lock()";
- System.err.println(msg);
- // Throwable t = new Throwable(msg);
- // t.printStackTrace();
+ System.err.println("NullToolkitLock.lock()");
+ // Thread.dumpStack();
}
}
diff --git a/src/test/com/jogamp/opengl/test/junit/graph/TestRegionRendererNEWT01.java b/src/test/com/jogamp/opengl/test/junit/graph/TestRegionRendererNEWT01.java
index 13aa266dc..55d3371c9 100644
--- a/src/test/com/jogamp/opengl/test/junit/graph/TestRegionRendererNEWT01.java
+++ b/src/test/com/jogamp/opengl/test/junit/graph/TestRegionRendererNEWT01.java
@@ -35,7 +35,6 @@ public class TestRegionRendererNEWT01 extends UITestCase {
@BeforeClass
public static void initClass() {
GLProfile.initSingleton(true);
- NativeWindowFactory.initSingleton(true);
}
static void destroyWindow(GLWindow window) {
diff --git a/src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT01.java b/src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT01.java
index acbcbc7da..9fd0c05e7 100755
--- a/src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT01.java
+++ b/src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT01.java
@@ -38,7 +38,6 @@ public class TestTextRendererNEWT01 extends UITestCase {
@BeforeClass
public static void initClass() {
GLProfile.initSingleton(true);
- NativeWindowFactory.initSingleton(true);
}
static void destroyWindow(GLWindow window) {