summaryrefslogtreecommitdiffstats
path: root/src/demos/es2/openmax
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/es2/openmax')
-rw-r--r--src/demos/es2/openmax/Cube.java1
-rwxr-xr-xsrc/demos/es2/openmax/MovieCube.java2
-rwxr-xr-xsrc/demos/es2/openmax/MovieSimple.java2
3 files changed, 2 insertions, 3 deletions
diff --git a/src/demos/es2/openmax/Cube.java b/src/demos/es2/openmax/Cube.java
index edcfba0..a6dfc53 100644
--- a/src/demos/es2/openmax/Cube.java
+++ b/src/demos/es2/openmax/Cube.java
@@ -342,7 +342,6 @@ public class Cube implements GLEventListener {
// Shut things down cooperatively
window.destroy();
- window.getFactory().shutdown();
System.out.println("Cube shut down cleanly.");
} catch (Throwable t) {
t.printStackTrace();
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();
diff --git a/src/demos/es2/openmax/MovieSimple.java b/src/demos/es2/openmax/MovieSimple.java
index b702699..015d3b5 100755
--- a/src/demos/es2/openmax/MovieSimple.java
+++ b/src/demos/es2/openmax/MovieSimple.java
@@ -45,6 +45,7 @@ import java.nio.*;
import java.net.*;
import com.jogamp.newt.*;
+import com.jogamp.newt.event.*;
import com.jogamp.newt.opengl.*;
public class MovieSimple implements MouseListener, GLEventListener, OMXEventListener {
@@ -123,7 +124,6 @@ public class MovieSimple implements MouseListener, GLEventListener, OMXEventList
movie=null;
}
window.destroy();
- window.getFactory().shutdown();
System.out.println("MovieSimple shut down cleanly.");
} catch (Throwable t) {
t.printStackTrace();