summaryrefslogtreecommitdiffstats
path: root/src/jbullet
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-04-24 05:13:37 +0200
committerSven Gothel <[email protected]>2010-04-24 05:13:37 +0200
commitec32272ad1d5ce2509f0907792a411446acca30d (patch)
tree85d1762019f8e66684a8ed7090688e88f4e4fb38 /src/jbullet
parent0cd9dad723fb1eae0b30bab9f36318bbd0f2ee3d (diff)
Adaption to JOGL 1ad8c39df6b097c80ba7a85badf555e7f669cc3f
Diffstat (limited to 'src/jbullet')
-rw-r--r--src/jbullet/src/javabullet/demos/opengl/DemoApplication.java1
-rw-r--r--src/jbullet/src/javabullet/demos/opengl/JOGL.java2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/jbullet/src/javabullet/demos/opengl/DemoApplication.java b/src/jbullet/src/javabullet/demos/opengl/DemoApplication.java
index ec58929..4b7352c 100644
--- a/src/jbullet/src/javabullet/demos/opengl/DemoApplication.java
+++ b/src/jbullet/src/javabullet/demos/opengl/DemoApplication.java
@@ -49,6 +49,7 @@ import javax.media.opengl.glu.*;
import java.nio.*;
import com.jogamp.newt.*;
+import com.jogamp.newt.event.*;
/**
*
diff --git a/src/jbullet/src/javabullet/demos/opengl/JOGL.java b/src/jbullet/src/javabullet/demos/opengl/JOGL.java
index aeececb..cd98906 100644
--- a/src/jbullet/src/javabullet/demos/opengl/JOGL.java
+++ b/src/jbullet/src/javabullet/demos/opengl/JOGL.java
@@ -24,6 +24,7 @@
package javabullet.demos.opengl;
import com.jogamp.newt.*;
+import com.jogamp.newt.event.*;
import javax.media.nativewindow.*;
import javax.media.opengl.*;
import javax.media.opengl.glu.*;
@@ -114,7 +115,6 @@ public class JOGL implements WindowListener, MouseListener {
// Shut things down cooperatively
window.destroy();
- window.getFactory().shutdown();
System.out.print(title);
System.out.println(" shut down cleanly.");
} catch (Throwable t) {