From 94c895bcf8a98218cf5dc7832f00212ce32945ec Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 19 Mar 2023 16:27:18 +0100 Subject: Demo MovieSimple: Default to useOrigScale=false, enable @ main w/ -orig_scale --- src/demos/com/jogamp/opengl/demos/av/MovieSimple.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/demos') diff --git a/src/demos/com/jogamp/opengl/demos/av/MovieSimple.java b/src/demos/com/jogamp/opengl/demos/av/MovieSimple.java index ef4392743..6a5e932b9 100644 --- a/src/demos/com/jogamp/opengl/demos/av/MovieSimple.java +++ b/src/demos/com/jogamp/opengl/demos/av/MovieSimple.java @@ -674,7 +674,7 @@ public class MovieSimple implements GLEventListener { int height = 600; int textureCount = 3; // default - threaded boolean ortho = true; - boolean zoom = false; + boolean useOrigScale = false; boolean forceES2 = false; boolean forceES3 = false; @@ -729,8 +729,8 @@ public class MovieSimple implements GLEventListener { swapInterval = MiscUtils.atoi(args[i], swapInterval); } else if(args[i].equals("-projection")) { ortho=false; - } else if(args[i].equals("-zoom")) { - zoom=true; + } else if(args[i].equals("-orig_scale")) { + useOrigScale=true; } else if(args[i].equals("-loop")) { loopEOS=true; } else if(args[i].equals("-urlN")) { @@ -805,7 +805,7 @@ public class MovieSimple implements GLEventListener { }); mss[i] = new MovieSimple(null); mss[i].setSwapInterval(swapInterval); - mss[i].setUseOriginalScale(!zoom); + mss[i].setUseOriginalScale(useOrigScale); mss[i].setOrthoProjection(ortho); mss[i].mPlayer.attachObject(WINDOW_KEY, windows[i]); mss[i].mPlayer.addEventListener(myGLMediaEventListener); -- cgit v1.2.3