summaryrefslogtreecommitdiffstats
path: root/src/demos/GLInfo.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/GLInfo.java')
-rwxr-xr-xsrc/demos/GLInfo.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demos/GLInfo.java b/src/demos/GLInfo.java
index d9c5f56..9cd055d 100755
--- a/src/demos/GLInfo.java
+++ b/src/demos/GLInfo.java
@@ -33,8 +33,8 @@ public class GLInfo extends Thread implements GLEventListener {
Window nWindow = null;
if(0!=(type&USE_AWT)) {
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);
+ Screen nScreen = NewtFactory.createScreen(nDisplay, 0); // screen 0
+ nWindow = NewtFactory.createWindow(nScreen, caps);
System.err.println(glp+" "+nWindow);
window = GLWindow.create(nWindow);
} else {