From 2f2eece4438c933fa2dcfb79ed522251b0db5183 Mon Sep 17 00:00:00 2001
From: Sven Gothel <sgothel@jausoft.com>
Date: Fri, 29 Oct 2010 04:09:43 +0200
Subject: Accomodate JOGL changes up to
 ce24d32178106baa16e84f016192441ce45845a7

---
 src/demos/es1/cubefbo/Main.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/demos/es1/cubefbo/Main.java')

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 {
-- 
cgit v1.2.3