summaryrefslogtreecommitdiffstats
path: root/src/demos/es1
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/es1')
-rwxr-xr-xsrc/demos/es1/Info.java4
-rwxr-xr-xsrc/demos/es1/RedSquare.java4
-rwxr-xr-xsrc/demos/es1/angeles/Main.java4
-rw-r--r--src/demos/es1/cube/Cube.java4
-rw-r--r--src/demos/es1/cube/CubeImmModeSink.java4
-rwxr-xr-xsrc/demos/es1/cubefbo/Main.java4
6 files changed, 12 insertions, 12 deletions
diff --git a/src/demos/es1/Info.java b/src/demos/es1/Info.java
index cc2fe86..c8e0edb 100755
--- a/src/demos/es1/Info.java
+++ b/src/demos/es1/Info.java
@@ -25,8 +25,8 @@ public class Info 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);
nWindow.setUndecorated(false);
window = GLWindow.create(nWindow);
} else {
diff --git a/src/demos/es1/RedSquare.java b/src/demos/es1/RedSquare.java
index e121cbd..4c3d299 100755
--- a/src/demos/es1/RedSquare.java
+++ b/src/demos/es1/RedSquare.java
@@ -118,8 +118,8 @@ public class RedSquare extends Thread implements WindowListener, KeyListener, Mo
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 {
diff --git a/src/demos/es1/angeles/Main.java b/src/demos/es1/angeles/Main.java
index 93f54c7..495ecc1 100755
--- a/src/demos/es1/angeles/Main.java
+++ b/src/demos/es1/angeles/Main.java
@@ -63,8 +63,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 {
diff --git a/src/demos/es1/cube/Cube.java b/src/demos/es1/cube/Cube.java
index 430e475..fa88674 100644
--- a/src/demos/es1/cube/Cube.java
+++ b/src/demos/es1/cube/Cube.java
@@ -328,8 +328,8 @@ public class Cube implements GLEventListener {
GLWindow window;
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 {
diff --git a/src/demos/es1/cube/CubeImmModeSink.java b/src/demos/es1/cube/CubeImmModeSink.java
index 279a19b..a75b274 100644
--- a/src/demos/es1/cube/CubeImmModeSink.java
+++ b/src/demos/es1/cube/CubeImmModeSink.java
@@ -393,8 +393,8 @@ public class CubeImmModeSink implements GLEventListener {
GLWindow window;
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 {
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 {