diff options
author | Sven Gothel <[email protected]> | 2011-06-12 02:42:24 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-06-12 02:42:24 +0200 |
commit | fec792f54c29ea86a39330f1a2adb816003443a6 (patch) | |
tree | f8ea51085c4f0f03441efbedfda8cc0da875c397 /src | |
parent | 17e90844af05344e43588e97e947d1f540f9566f (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')
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) {
|