summaryrefslogtreecommitdiffstats
path: root/src/demos/readbuffer
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-10-29 04:09:43 +0200
committerSven Gothel <[email protected]>2010-10-29 04:09:43 +0200
commit2f2eece4438c933fa2dcfb79ed522251b0db5183 (patch)
treea231e1551db1b1896119de6dab9c8c842d87c250 /src/demos/readbuffer
parent1ff81eb806d6df78994a808217eb2c5f6b4ef8da (diff)
Accomodate JOGL changes up to ce24d32178106baa16e84f016192441ce45845a7
Diffstat (limited to 'src/demos/readbuffer')
-rwxr-xr-xsrc/demos/readbuffer/Main.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demos/readbuffer/Main.java b/src/demos/readbuffer/Main.java
index 8c18e08..1593817 100755
--- a/src/demos/readbuffer/Main.java
+++ b/src/demos/readbuffer/Main.java
@@ -95,8 +95,8 @@ public class Main implements WindowListener, MouseListener, SurfaceUpdatedListen
// Setup init onscreen window ..
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);
+ Screen nScreen = NewtFactory.createScreen(nDisplay, 0); // screen 0
+ Window nWindow = NewtFactory.createWindow(nScreen, caps);
window = GLWindow.create(nWindow);
} else {
Display nDisplay = NewtFactory.createDisplay(null); // local display