aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/com
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-11-14 14:57:14 +0100
committerSven Gothel <[email protected]>2013-11-14 14:57:14 +0100
commit0302b5f91189a8b2c1e22f5a299f1ea81e599b1e (patch)
treeae63e883d20a33ea0b9185c4532d72c773314fd1 /src/test/com
parentef43f6afc7bdb8d157f1110e3bf8f688c7c9fb50 (diff)
Bug 904 - GLJPanel: Add property to skip isGLOriented() based vertical flip by default (2/2)
Property 'jogl.gljpanel.noverticalflip' will set the skipGLOrientationVerticalFlip default to true - intended for perf. testing of existing applications
Diffstat (limited to 'src/test/com')
-rw-r--r--src/test/com/jogamp/opengl/test/junit/jogl/perf/TestPerf001GLJPanelInit02AWT.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/perf/TestPerf001GLJPanelInit02AWT.java b/src/test/com/jogamp/opengl/test/junit/jogl/perf/TestPerf001GLJPanelInit02AWT.java
index 3133a449d..8b19537f8 100644
--- a/src/test/com/jogamp/opengl/test/junit/jogl/perf/TestPerf001GLJPanelInit02AWT.java
+++ b/src/test/com/jogamp/opengl/test/junit/jogl/perf/TestPerf001GLJPanelInit02AWT.java
@@ -239,7 +239,9 @@ public class TestPerf001GLJPanelInit02AWT extends UITestCase {
canvas.setSize(size);
canvas.setPreferredSize(size);
canvas.setDoubleBuffered(useSwingDoubleBuffer);
- canvas.setSkipGLOrientationVerticalFlip(skipGLOrientationVerticalFlip);
+ if( skipGLOrientationVerticalFlip ) { // don't fiddle w/ default ..
+ canvas.setSkipGLOrientationVerticalFlip(skipGLOrientationVerticalFlip);
+ }
if( useGears ) {
final GearsES2 g = new GearsES2(0);
g.setVerbose(false);