From ae1ca3f2cae849f5e5a44538284082e861a98de1 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 23 Nov 2010 05:07:51 +0100 Subject: Adapt to JOGL 7262641429b542929efc699e392f410f1dee2187 --- src/demos/applets/JOGLNewtAppletBase.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/demos/applets/JOGLNewtAppletBase.java') diff --git a/src/demos/applets/JOGLNewtAppletBase.java b/src/demos/applets/JOGLNewtAppletBase.java index da8565c..9fa1bdc 100755 --- a/src/demos/applets/JOGLNewtAppletBase.java +++ b/src/demos/applets/JOGLNewtAppletBase.java @@ -152,7 +152,7 @@ public class JOGLNewtAppletBase extends WindowAdapter implements KeyListener, Mo } } - public void destroy(boolean unrecoverable) { + public void destroy() { isValid = false; if(null!=glAnimator) { glAnimator.stop(); @@ -160,7 +160,7 @@ public class JOGLNewtAppletBase extends WindowAdapter implements KeyListener, Mo glAnimator=null; } if(null!=glWindow) { - glWindow.destroy(unrecoverable); + glWindow.destroy(); glWindow=null; } } -- cgit v1.2.3