diff options
author | Sven Gothel <[email protected]> | 2011-09-08 03:43:54 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-09-08 03:43:54 +0200 |
commit | 28b0df6c300494a2b54c07fdf43ef04f5f1b0073 (patch) | |
tree | 5548d07457fddd4390889c037b63ca20879fa353 /src/jogl/classes/javax/media | |
parent | f1c375df106f0f9f6c90772b61a501b4280997fa (diff) |
Destruction of GLAutoDrawable shall not remove them from AnimatorControl (due to recreation) ; NEWT/Window: Remove isValid() API entry - always true!
Destruction of GLAutoDrawable shall not remove them from AnimatorControl (due to recreation)
- Completes commit b65e1e76d413b70e5593173e6bd36d30675554a6
- WindowImpl:
- volatile: windowHandle/visible fields (memeory sync critical)
- destroy must set visible := false, to avoid immediate recreation via
a display call of another thread, ie an animator.
NEWT/Window: Remove isValid() API entry - always true!
- NEWT/Window's can always be recreated.
- redundancy in API is even worse than redundancy in impl. :)
Diffstat (limited to 'src/jogl/classes/javax/media')
-rw-r--r-- | src/jogl/classes/javax/media/opengl/awt/GLJPanel.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/jogl/classes/javax/media/opengl/awt/GLJPanel.java b/src/jogl/classes/javax/media/opengl/awt/GLJPanel.java index 76d982813..92be62b4d 100644 --- a/src/jogl/classes/javax/media/opengl/awt/GLJPanel.java +++ b/src/jogl/classes/javax/media/opengl/awt/GLJPanel.java @@ -280,8 +280,6 @@ public class GLJPanel extends JPanel implements AWTGLAutoDrawable, WindowClosing if(null!=animator) { if(regenerate) { animatorPaused = animator.pause(); - } else { - animator.remove(this); } } |