aboutsummaryrefslogtreecommitdiffstats
path: root/src/newt/classes
diff options
context:
space:
mode:
Diffstat (limited to 'src/newt/classes')
-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");
}