summaryrefslogtreecommitdiffstats
path: root/src/jbullet
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2009-05-29 02:06:27 +0000
committerSven Gothel <[email protected]>2009-05-29 02:06:27 +0000
commit79466d482c8dd58907c9c414b851e4895c06d6cc (patch)
treec91b68d3482ce341e62182ae3d774fc236f50339 /src/jbullet
parent92bf955f17d1c070322ccf94d2de76d74f3eaa40 (diff)
GLInfo gives some usefull info, fix with GL3 changes
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@336 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
Diffstat (limited to 'src/jbullet')
-rw-r--r--src/jbullet/src/javabullet/demos/opengl/JOGL.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/jbullet/src/javabullet/demos/opengl/JOGL.java b/src/jbullet/src/javabullet/demos/opengl/JOGL.java
index 451b362..1e3408e 100644
--- a/src/jbullet/src/javabullet/demos/opengl/JOGL.java
+++ b/src/jbullet/src/javabullet/demos/opengl/JOGL.java
@@ -24,7 +24,7 @@
package javabullet.demos.opengl;
import com.sun.javafx.newt.*;
-import javax.media.nwi.*;
+import javax.media.nativewindow.*;
import javax.media.opengl.*;
import javax.media.opengl.glu.*;
import javax.media.opengl.util.*;
@@ -84,9 +84,9 @@ public class JOGL implements WindowListener, MouseListener {
Window nWindow = null;
if(0!=(type&USE_AWT)) {
- Display nDisplay = NewtFactory.createDisplay(NewtFactory.AWT, null); // local display
- Screen nScreen = NewtFactory.createScreen(NewtFactory.AWT, nDisplay, 0); // screen 0
- nWindow = NewtFactory.createWindow(NewtFactory.AWT, nScreen, caps);
+ Display nDisplay = NewtFactory.createDisplay(NativeWindowFactory.TYPE_AWT, null); // local display
+ Screen nScreen = NewtFactory.createScreen(NativeWindowFactory.TYPE_AWT, nDisplay, 0); // screen 0
+ nWindow = NewtFactory.createWindow(NativeWindowFactory.TYPE_AWT, nScreen, caps);
}
window = GLWindow.create(nWindow, caps);