summaryrefslogtreecommitdiffstats
path: root/src/newt/classes/com
diff options
context:
space:
mode:
Diffstat (limited to 'src/newt/classes/com')
-rwxr-xr-xsrc/newt/classes/com/jogamp/newt/awt/applet/JOGLNewtApplet1Run.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/newt/classes/com/jogamp/newt/awt/applet/JOGLNewtApplet1Run.java b/src/newt/classes/com/jogamp/newt/awt/applet/JOGLNewtApplet1Run.java
index 7ba892b37..76abb261d 100755
--- a/src/newt/classes/com/jogamp/newt/awt/applet/JOGLNewtApplet1Run.java
+++ b/src/newt/classes/com/jogamp/newt/awt/applet/JOGLNewtApplet1Run.java
@@ -41,8 +41,6 @@ import javax.media.opengl.GLCapabilities;
import javax.media.opengl.GLEventListener;
import javax.media.opengl.GLProfile;
-import jogamp.newt.Debug;
-
import com.jogamp.newt.awt.NewtCanvasAWT;
import com.jogamp.newt.opengl.GLWindow;
@@ -248,7 +246,7 @@ public class JOGLNewtApplet1Run extends Applet {
}
base.start();
if(DEBUG) {
- System.err.println("JOGLNewtApplet1Run.stop() END");
+ System.err.println("JOGLNewtApplet1Run.start() END");
}
}
@@ -274,6 +272,10 @@ public class JOGLNewtApplet1Run extends Applet {
base.destroy(); // destroy glWindow unrecoverable
base=null;
if(DEBUG) {
+ System.err.println("JOGLNewtApplet1Run.destroy() .. GLProfile.shutdown() ..");
+ }
+ GLProfile.shutdown();
+ if(DEBUG) {
System.err.println("JOGLNewtApplet1Run.destroy() END");
}
}