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/es2/openmax/MovieCube.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/demos/es2/openmax/MovieCube.java') diff --git a/src/demos/es2/openmax/MovieCube.java b/src/demos/es2/openmax/MovieCube.java index f59bea2..6b53c6d 100755 --- a/src/demos/es2/openmax/MovieCube.java +++ b/src/demos/es2/openmax/MovieCube.java @@ -43,6 +43,7 @@ import com.jogamp.openmax.*; import java.net.*; import com.jogamp.newt.*; +import com.jogamp.newt.event.*; import com.jogamp.newt.opengl.*; public class MovieCube implements MouseListener, GLEventListener, OMXEventListener { @@ -114,7 +115,6 @@ public class MovieCube implements MouseListener, GLEventListener, OMXEventListen movie=null; } window.destroy(); - window.getFactory().shutdown(); System.out.println("MovieCube shut down cleanly."); } catch (Throwable t) { t.printStackTrace(); -- cgit v1.2.3