diff options
author | Sven Gothel <[email protected]> | 2012-09-29 03:02:09 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-09-29 03:02:09 +0200 |
commit | 4f8432b0a5ac2a030056884c8f6c877435aaf5c8 (patch) | |
tree | f1b3ad8f1f1e9011b642bc7ac36fee92b433bc16 /src/jogl/classes/jogamp/opengl/GLAutoDrawableBase.java | |
parent | 27fe889023c7366e264647e5dc25053f22df0956 (diff) |
GLDrawableHelper.init(..): Avoid double reshape if subsequent display issues reshape
Adding boolean sendReshape argument to be set to false, if subsequent display won't reshape.
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/GLAutoDrawableBase.java')
-rw-r--r-- | src/jogl/classes/jogamp/opengl/GLAutoDrawableBase.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/classes/jogamp/opengl/GLAutoDrawableBase.java b/src/jogl/classes/jogamp/opengl/GLAutoDrawableBase.java index 07029f143..d49fc75d9 100644 --- a/src/jogl/classes/jogamp/opengl/GLAutoDrawableBase.java +++ b/src/jogl/classes/jogamp/opengl/GLAutoDrawableBase.java @@ -265,7 +265,7 @@ public abstract class GLAutoDrawableBase implements GLAutoDrawable, FPSCounter { @Override public final void run() { // Lock: Locked Surface/Window by MakeCurrent/Release - helper.init(GLAutoDrawableBase.this); + helper.init(GLAutoDrawableBase.this, !sendReshape); resetFPSCounter(); } }; |