summaryrefslogtreecommitdiffstats
path: root/src/newt/classes/com
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-09-07 01:33:42 +0200
committerSven Gothel <[email protected]>2011-09-07 01:33:42 +0200
commitb65e1e76d413b70e5593173e6bd36d30675554a6 (patch)
treedc27e4ca59c05aa4b096a98904e62308774b53de /src/newt/classes/com
parente1ecd85a9d5877861cde35baababb298d1339898 (diff)
GLWindows Lifecycle Destroy: Don't remove itself from animator-ctrl - recreation is possible
Diffstat (limited to 'src/newt/classes/com')
-rw-r--r--src/newt/classes/com/jogamp/newt/opengl/GLWindow.java8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/newt/classes/com/jogamp/newt/opengl/GLWindow.java b/src/newt/classes/com/jogamp/newt/opengl/GLWindow.java
index 37ca7afc7..638e4a462 100644
--- a/src/newt/classes/com/jogamp/newt/opengl/GLWindow.java
+++ b/src/newt/classes/com/jogamp/newt/opengl/GLWindow.java
@@ -237,7 +237,7 @@ public class GLWindow implements GLAutoDrawable, Window, NEWTEventConsumer, FPSC
public final InsetsImmutable getInsets() {
return window.getInsets();
}
-
+
public final void setPosition(int x, int y) {
window.setPosition(x, y);
}
@@ -349,12 +349,6 @@ public class GLWindow implements GLAutoDrawable, Window, NEWTEventConsumer, FPSC
context = null;
drawable = null;
- GLAnimatorControl ctrl = GLWindow.this.getAnimator();
- if ( null!=ctrl ) {
- ctrl.remove(GLWindow.this);
- }
- // helper=null; // pending events ..
-
if(Window.DEBUG_IMPLEMENTATION) {
System.err.println("GLWindow.destroy() "+Thread.currentThread()+", fin");
}