summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-09-06 07:23:19 +0200
committerSven Gothel <[email protected]>2011-09-06 07:23:19 +0200
commita69e3bc4aa148c8d84bb3caa449846ab8e74fab4 (patch)
tree48b0bf3839fc48d27bb20067b036513efaf49622
parent575f3002ccb6091014ff9959a9eb54b53b501351 (diff)
Fix test case for commit 68f5a97ef165a39769040e36114c572c7d0f1abd
-rw-r--r--src/test/com/jogamp/opengl/test/junit/newt/TestScreenMode02NEWT.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/newt/TestScreenMode02NEWT.java b/src/test/com/jogamp/opengl/test/junit/newt/TestScreenMode02NEWT.java
index a9157a9ee..28300a5c5 100644
--- a/src/test/com/jogamp/opengl/test/junit/newt/TestScreenMode02NEWT.java
+++ b/src/test/com/jogamp/opengl/test/junit/newt/TestScreenMode02NEWT.java
@@ -145,8 +145,6 @@ public class TestScreenMode02NEWT extends UITestCase {
// check reset ..
- ScreenMode saveOrigMode = (ScreenMode) smOrig.clone();
-
Assert.assertEquals(true,display.isNativeValid());
Assert.assertEquals(true,screen.isNativeValid());
Assert.assertEquals(true,window.isNativeValid());
@@ -169,7 +167,7 @@ public class TestScreenMode02NEWT extends UITestCase {
System.err.println("[1] current/orig: "+smCurrent);
Assert.assertNotNull(smCurrent);
- Assert.assertEquals(saveOrigMode, smOrig);
+ Assert.assertEquals(smCurrent, smOrig);
screen.destroy();