summaryrefslogtreecommitdiffstats
path: root/src/demos/es1/cubefbo/Main.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/es1/cubefbo/Main.java')
-rwxr-xr-xsrc/demos/es1/cubefbo/Main.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demos/es1/cubefbo/Main.java b/src/demos/es1/cubefbo/Main.java
index 1ff9919..55261fd 100755
--- a/src/demos/es1/cubefbo/Main.java
+++ b/src/demos/es1/cubefbo/Main.java
@@ -64,8 +64,8 @@ public class Main implements WindowListener, MouseListener {
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);
nWindow.setUndecorated(false);
window = GLWindow.create(nWindow);
} else {