From ec32272ad1d5ce2509f0907792a411446acca30d Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 24 Apr 2010 05:13:37 +0200 Subject: Adaption to JOGL 1ad8c39df6b097c80ba7a85badf555e7f669cc3f --- src/demos/es1/cubefbo/Main.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/demos/es1/cubefbo/Main.java') diff --git a/src/demos/es1/cubefbo/Main.java b/src/demos/es1/cubefbo/Main.java index 6a1281d..bef2761 100755 --- a/src/demos/es1/cubefbo/Main.java +++ b/src/demos/es1/cubefbo/Main.java @@ -3,6 +3,7 @@ package demos.es1.cubefbo; 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 { @@ -87,7 +88,6 @@ public class Main implements WindowListener, MouseListener { // Shut things down cooperatively window.destroy(); - window.getFactory().shutdown(); System.out.println("cubefbo.Main shut down cleanly."); } catch (GLException e) { e.printStackTrace(); -- cgit v1.2.3