aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/javax/media/opengl/awt/GLCanvas.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-10-13 03:37:00 +0200
committerSven Gothel <[email protected]>2011-10-13 03:37:00 +0200
commit01ba2ee689a87996301afe2b37ad919cb052882b (patch)
tree663e9892bac423535b6a393a68ec3bc639e19cdb /src/jogl/classes/javax/media/opengl/awt/GLCanvas.java
parent946c98fd196802755e9e13a9c5db75650a564466 (diff)
GLCanvas / GLWindow: Change 'manual' resize/repaint animation filter
We not only shall skip windowing system triggered repaint if another animation thread is running, but also if the current thread is the animator thread. This keeps the animator intervals stable while resizing.
Diffstat (limited to 'src/jogl/classes/javax/media/opengl/awt/GLCanvas.java')
-rw-r--r--src/jogl/classes/javax/media/opengl/awt/GLCanvas.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/classes/javax/media/opengl/awt/GLCanvas.java b/src/jogl/classes/javax/media/opengl/awt/GLCanvas.java
index 48c1c5411..ada9f5222 100644
--- a/src/jogl/classes/javax/media/opengl/awt/GLCanvas.java
+++ b/src/jogl/classes/javax/media/opengl/awt/GLCanvas.java
@@ -495,7 +495,7 @@ public class GLCanvas extends Canvas implements AWTGLAutoDrawable, WindowClosing
(int) ((getHeight() + bounds.getHeight()) / 2));
return;
}
- if( ! this.drawableHelper.isExternalAnimatorAnimating() ) {
+ if( ! this.drawableHelper.isAnimatorAnimating() ) {
display();
}
}