summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-05-21 06:19:40 +0200
committerSven Gothel <[email protected]>2010-05-21 06:19:40 +0200
commit49b453135a64ad944eac2d4bebcb0fbb2fac5494 (patch)
tree0b666218146f161102a124ad0ccd16317da8a976 /src
parent2329eaec304b79b1f9cd5838f7ea8747a9b45e14 (diff)
Fixes for JOGL changes 6e599a2696f878786783e0fea17534e67655a5c9
Diffstat (limited to 'src')
-rwxr-xr-xsrc/demos/GLInfo.java2
-rwxr-xr-xsrc/demos/GLNewtRun.java2
-rwxr-xr-xsrc/demos/es1/Info.java2
-rwxr-xr-xsrc/demos/es1/RedSquare.java2
-rwxr-xr-xsrc/demos/es1/angeles/Main.java2
-rw-r--r--src/demos/es1/cube/Cube.java2
-rw-r--r--src/demos/es1/cube/CubeImmModeSink.java2
-rwxr-xr-xsrc/demos/es1/cubefbo/Main.java2
-rwxr-xr-xsrc/demos/es2/RedSquare.java2
-rw-r--r--src/demos/es2/openmax/Cube.java2
-rwxr-xr-xsrc/demos/es2/perftst/Perftst.java2
-rwxr-xr-xsrc/demos/readbuffer/Main.java2
-rw-r--r--src/jbullet/src/javabullet/demos/opengl/JOGL.java2
13 files changed, 13 insertions, 13 deletions
diff --git a/src/demos/GLInfo.java b/src/demos/GLInfo.java
index 55bf9cd..0d0c1e2 100755
--- a/src/demos/GLInfo.java
+++ b/src/demos/GLInfo.java
@@ -34,7 +34,7 @@ public class GLInfo extends Thread implements GLEventListener {
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);
+ nWindow = NewtFactory.createWindow(NativeWindowFactory.TYPE_AWT, nScreen, caps, false);
System.err.println(glp+" "+nWindow);
window = GLWindow.create(nWindow);
} else {
diff --git a/src/demos/GLNewtRun.java b/src/demos/GLNewtRun.java
index c981012..72389e3 100755
--- a/src/demos/GLNewtRun.java
+++ b/src/demos/GLNewtRun.java
@@ -219,7 +219,7 @@ public class GLNewtRun implements WindowListener, KeyListener, MouseListener {
parent.setPosition(x_p, y_p);
parent.setSize(width+width/10, height+height/10);
parent.setVisible(true);
- nWindow = NewtFactory.createWindow(parent, nScreen, caps);
+ nWindow = NewtFactory.createWindow(parent, caps, undecorated);
} else {
nWindow = NewtFactory.createWindow(nScreen, caps, undecorated);
}
diff --git a/src/demos/es1/Info.java b/src/demos/es1/Info.java
index 20e6687..81d2f18 100755
--- a/src/demos/es1/Info.java
+++ b/src/demos/es1/Info.java
@@ -26,7 +26,7 @@ public class Info implements GLEventListener {
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);
+ nWindow = NewtFactory.createWindow(NativeWindowFactory.TYPE_AWT, nScreen, caps, false);
window = GLWindow.create(nWindow);
} else {
window = GLWindow.create(caps);
diff --git a/src/demos/es1/RedSquare.java b/src/demos/es1/RedSquare.java
index 2f1e4c1..c7ad8bc 100755
--- a/src/demos/es1/RedSquare.java
+++ b/src/demos/es1/RedSquare.java
@@ -116,7 +116,7 @@ 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);
+ nWindow = NewtFactory.createWindow(NativeWindowFactory.TYPE_AWT, nScreen, caps, false);
window = GLWindow.create(nWindow);
} else {
window = GLWindow.create(caps);
diff --git a/src/demos/es1/angeles/Main.java b/src/demos/es1/angeles/Main.java
index 9d903dd..0ad882b 100755
--- a/src/demos/es1/angeles/Main.java
+++ b/src/demos/es1/angeles/Main.java
@@ -63,7 +63,7 @@ public class Main implements WindowListener, MouseListener {
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);
+ nWindow = NewtFactory.createWindow(NativeWindowFactory.TYPE_AWT, nScreen, caps, false);
window = GLWindow.create(nWindow);
} else {
window = GLWindow.create(caps);
diff --git a/src/demos/es1/cube/Cube.java b/src/demos/es1/cube/Cube.java
index 95c9514..4717b2d 100644
--- a/src/demos/es1/cube/Cube.java
+++ b/src/demos/es1/cube/Cube.java
@@ -329,7 +329,7 @@ public class Cube implements GLEventListener {
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);
+ nWindow = NewtFactory.createWindow(NativeWindowFactory.TYPE_AWT, nScreen, caps, false);
window = GLWindow.create(nWindow);
} else {
window = GLWindow.create(caps);
diff --git a/src/demos/es1/cube/CubeImmModeSink.java b/src/demos/es1/cube/CubeImmModeSink.java
index 584a7f2..beda590 100644
--- a/src/demos/es1/cube/CubeImmModeSink.java
+++ b/src/demos/es1/cube/CubeImmModeSink.java
@@ -394,7 +394,7 @@ public class CubeImmModeSink implements GLEventListener {
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);
+ nWindow = NewtFactory.createWindow(NativeWindowFactory.TYPE_AWT, nScreen, caps, false);
window = GLWindow.create(nWindow);
} else {
window = GLWindow.create(caps);
diff --git a/src/demos/es1/cubefbo/Main.java b/src/demos/es1/cubefbo/Main.java
index bef2761..8951d0c 100755
--- a/src/demos/es1/cubefbo/Main.java
+++ b/src/demos/es1/cubefbo/Main.java
@@ -64,7 +64,7 @@ public class Main implements WindowListener, MouseListener {
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);
+ nWindow = NewtFactory.createWindow(NativeWindowFactory.TYPE_AWT, nScreen, caps, false);
window = GLWindow.create(nWindow);
} else {
window = GLWindow.create(caps);
diff --git a/src/demos/es2/RedSquare.java b/src/demos/es2/RedSquare.java
index f289bdb..12b2a5a 100755
--- a/src/demos/es2/RedSquare.java
+++ b/src/demos/es2/RedSquare.java
@@ -103,7 +103,7 @@ 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);
+ nWindow = NewtFactory.createWindow(NativeWindowFactory.TYPE_AWT, nScreen, caps, false);
window = GLWindow.create(nWindow);
} else {
window = GLWindow.create(caps);
diff --git a/src/demos/es2/openmax/Cube.java b/src/demos/es2/openmax/Cube.java
index a6dfc53..7cbfb9c 100644
--- a/src/demos/es2/openmax/Cube.java
+++ b/src/demos/es2/openmax/Cube.java
@@ -322,7 +322,7 @@ public class Cube implements GLEventListener {
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);
+ nWindow = NewtFactory.createWindow(NativeWindowFactory.TYPE_AWT, nScreen, caps, false);
window = GLWindow.create(nWindow);
} else {
window = GLWindow.create(caps);
diff --git a/src/demos/es2/perftst/Perftst.java b/src/demos/es2/perftst/Perftst.java
index d44479e..f739ef5 100755
--- a/src/demos/es2/perftst/Perftst.java
+++ b/src/demos/es2/perftst/Perftst.java
@@ -55,7 +55,7 @@ public class Perftst implements MouseListener, GLEventListener {
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);
+ nWindow = NewtFactory.createWindow(NativeWindowFactory.TYPE_AWT, nScreen, caps, false);
window = GLWindow.create(nWindow);
} else {
window = GLWindow.create(caps);
diff --git a/src/demos/readbuffer/Main.java b/src/demos/readbuffer/Main.java
index 566750e..2311ace 100755
--- a/src/demos/readbuffer/Main.java
+++ b/src/demos/readbuffer/Main.java
@@ -95,7 +95,7 @@ public class Main implements WindowListener, MouseListener, SurfaceUpdatedListen
if(0!=(typeNewt&USE_AWT)) {
Display nDisplay = NewtFactory.createDisplay(NativeWindowFactory.TYPE_AWT, null); // local display
Screen nScreen = NewtFactory.createScreen(NativeWindowFactory.TYPE_AWT, nDisplay, 0); // screen 0
- Window nWindow = NewtFactory.createWindow(NativeWindowFactory.TYPE_AWT, nScreen, caps);
+ Window nWindow = NewtFactory.createWindow(NativeWindowFactory.TYPE_AWT, nScreen, caps, false);
window = GLWindow.create(nWindow);
} else {
Display nDisplay = NewtFactory.createDisplay(null); // local display
diff --git a/src/jbullet/src/javabullet/demos/opengl/JOGL.java b/src/jbullet/src/javabullet/demos/opengl/JOGL.java
index cd98906..44afa0d 100644
--- a/src/jbullet/src/javabullet/demos/opengl/JOGL.java
+++ b/src/jbullet/src/javabullet/demos/opengl/JOGL.java
@@ -87,7 +87,7 @@ public class JOGL implements WindowListener, MouseListener {
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);
+ nWindow = NewtFactory.createWindow(NativeWindowFactory.TYPE_AWT, nScreen, caps, false);
window = GLWindow.create(nWindow);
} else {
window = GLWindow.create(caps);