diff options
author | Sven Gothel <[email protected]> | 2010-09-23 18:58:03 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-09-23 18:58:03 +0200 |
commit | 4bb9fed247d8151b317c32dd1f8d7bde03a1bcb6 (patch) | |
tree | dd097af09126ce7d7e7b3bf3ff0cd3132cbd80b9 /src/demos/readbuffer/Main.java | |
parent | 35da0bfcb126c8b296a64274dcf5b757daa723d3 (diff) |
Sync with JOGL: 1c02f0eeb539ff5de7259b822893ab63a9cc3ab0
Diffstat (limited to 'src/demos/readbuffer/Main.java')
-rwxr-xr-x | src/demos/readbuffer/Main.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/demos/readbuffer/Main.java b/src/demos/readbuffer/Main.java index bf4ddde..44b665c 100755 --- a/src/demos/readbuffer/Main.java +++ b/src/demos/readbuffer/Main.java @@ -64,7 +64,7 @@ public class Main implements WindowListener, MouseListener, SurfaceUpdatedListen Display nDisplay = NewtFactory.createDisplay(null); // local display Screen nScreen = NewtFactory.createScreen(nDisplay, 0); // screen 0 - Window nWindow = NewtFactory.createWindow(nScreen, capsOffscreen, false /* undecorated */); + Window nWindow = NewtFactory.createWindow(nScreen, capsOffscreen); GLWindow windowOffscreen = GLWindow.create(nWindow); windowOffscreen.enablePerfLog(true); @@ -96,12 +96,12 @@ 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, false); + Window nWindow = NewtFactory.createWindow(NativeWindowFactory.TYPE_AWT, nScreen, caps); window = GLWindow.create(nWindow); } else { Display nDisplay = NewtFactory.createDisplay(null); // local display Screen nScreen = NewtFactory.createScreen(nDisplay, 0); // screen 0 - Window nWindow = NewtFactory.createWindow(nScreen, caps, false /* undecorated */); + Window nWindow = NewtFactory.createWindow(nScreen, caps); window = GLWindow.create(nWindow); } |