summaryrefslogtreecommitdiffstats
path: root/src/test/com/jogamp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/com/jogamp')
-rw-r--r--src/test/com/jogamp/opengl/test/junit/newt/mm/TestScreenMode02aNEWT.java2
-rw-r--r--src/test/com/jogamp/opengl/test/junit/newt/mm/TestScreenMode02bNEWT.java2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/newt/mm/TestScreenMode02aNEWT.java b/src/test/com/jogamp/opengl/test/junit/newt/mm/TestScreenMode02aNEWT.java
index 15cc87ca7..7ea879da2 100644
--- a/src/test/com/jogamp/opengl/test/junit/newt/mm/TestScreenMode02aNEWT.java
+++ b/src/test/com/jogamp/opengl/test/junit/newt/mm/TestScreenMode02aNEWT.java
@@ -145,6 +145,7 @@ public class TestScreenMode02aNEWT extends UITestCase {
if(monitorModes.size()==1) {
// no support ..
System.err.println("Your platform has no ScreenMode change support, sorry");
+ animator.stop();
destroyWindow(window);
return;
}
@@ -163,6 +164,7 @@ public class TestScreenMode02aNEWT extends UITestCase {
if(null==monitorModes || Platform.getOSType() == Platform.OSType.MACOS ) {
// no rotation support ..
System.err.println("Your platform has no rotation support, sorry");
+ animator.stop();
destroyWindow(window);
return;
}
diff --git a/src/test/com/jogamp/opengl/test/junit/newt/mm/TestScreenMode02bNEWT.java b/src/test/com/jogamp/opengl/test/junit/newt/mm/TestScreenMode02bNEWT.java
index 790c4f324..547dc596e 100644
--- a/src/test/com/jogamp/opengl/test/junit/newt/mm/TestScreenMode02bNEWT.java
+++ b/src/test/com/jogamp/opengl/test/junit/newt/mm/TestScreenMode02bNEWT.java
@@ -173,6 +173,7 @@ public class TestScreenMode02bNEWT extends UITestCase {
if(null==monitorModes || Platform.getOSType() == Platform.OSType.MACOS ) {
// no rotation support ..
System.err.println("Your platform has no rotation support, sorry");
+ animator.stop();
destroyWindow(window);
return;
}
@@ -196,6 +197,7 @@ public class TestScreenMode02bNEWT extends UITestCase {
System.err.println("[0] has current: "+mmCurrent+", changeOK "+smOk);
if( !smOk ) {
System.err.println("ERROR: Full MonitorMode w/ rotation failure - Expected on some platforms (NV driver) - Tolerated for now.");
+ animator.stop();
destroyWindow(window);
return;
}