aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/jogamp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-09-29 03:02:09 +0200
committerSven Gothel <[email protected]>2012-09-29 03:02:09 +0200
commit4f8432b0a5ac2a030056884c8f6c877435aaf5c8 (patch)
treef1b3ad8f1f1e9011b642bc7ac36fee92b433bc16 /src/jogl/classes/com/jogamp
parent27fe889023c7366e264647e5dc25053f22df0956 (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/com/jogamp')
-rw-r--r--src/jogl/classes/com/jogamp/opengl/swt/GLCanvas.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/swt/GLCanvas.java b/src/jogl/classes/com/jogamp/opengl/swt/GLCanvas.java
index 02f62daec..6fec18470 100644
--- a/src/jogl/classes/com/jogamp/opengl/swt/GLCanvas.java
+++ b/src/jogl/classes/com/jogamp/opengl/swt/GLCanvas.java
@@ -118,7 +118,7 @@ public class GLCanvas extends Canvas implements GLAutoDrawable {
private final Runnable initAction = new Runnable() {
@Override
public void run() {
- helper.init(GLCanvas.this);
+ helper.init(GLCanvas.this, !sendReshape);
}
};