diff options
Diffstat (limited to 'src/demos/es1/angeles/Main.java')
-rwxr-xr-x | src/demos/es1/angeles/Main.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demos/es1/angeles/Main.java b/src/demos/es1/angeles/Main.java index 35da6e1..9d903dd 100755 --- a/src/demos/es1/angeles/Main.java +++ b/src/demos/es1/angeles/Main.java @@ -3,6 +3,7 @@ package demos.es1.angeles; import javax.media.opengl.*; import javax.media.nativewindow.*; import com.jogamp.newt.*; +import com.jogamp.newt.event.*; import com.jogamp.newt.opengl.*; public class Main implements WindowListener, MouseListener { @@ -99,7 +100,6 @@ public class Main implements WindowListener, MouseListener { // Shut things down cooperatively window.destroy(); - window.getFactory().shutdown(); System.out.println("angeles.Main shut down cleanly."); } catch (GLException e) { e.printStackTrace(); |