diff options
author | Sven Gothel <[email protected]> | 2010-04-24 05:13:37 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-04-24 05:13:37 +0200 |
commit | ec32272ad1d5ce2509f0907792a411446acca30d (patch) | |
tree | 85d1762019f8e66684a8ed7090688e88f4e4fb38 /src/demos/es2/openmax | |
parent | 0cd9dad723fb1eae0b30bab9f36318bbd0f2ee3d (diff) |
Adaption to JOGL 1ad8c39df6b097c80ba7a85badf555e7f669cc3f
Diffstat (limited to 'src/demos/es2/openmax')
-rw-r--r-- | src/demos/es2/openmax/Cube.java | 1 | ||||
-rwxr-xr-x | src/demos/es2/openmax/MovieCube.java | 2 | ||||
-rwxr-xr-x | src/demos/es2/openmax/MovieSimple.java | 2 |
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(); |