summaryrefslogtreecommitdiffstats
path: root/src/demos/GLInfo.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/GLInfo.java')
-rwxr-xr-xsrc/demos/GLInfo.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/demos/GLInfo.java b/src/demos/GLInfo.java
index 157860e..7e7ac6a 100755
--- a/src/demos/GLInfo.java
+++ b/src/demos/GLInfo.java
@@ -37,7 +37,6 @@ public class GLInfo extends Thread implements GLEventListener {
Screen nScreen = NewtFactory.createScreen(NativeWindowFactory.TYPE_AWT, nDisplay, 0); // screen 0
nWindow = NewtFactory.createWindow(NativeWindowFactory.TYPE_AWT, nScreen, caps);
System.err.println(glp+" "+nWindow);
- //nWindow.setVisible(true);
}
window = GLWindow.create(nWindow, caps);
@@ -49,6 +48,7 @@ public class GLInfo extends Thread implements GLEventListener {
window.setSize(width, height);
// window.setFullscreen(true);
+ window.setVisible(true);
} catch (Throwable t) {
t.printStackTrace();
}
@@ -68,8 +68,6 @@ public class GLInfo extends Thread implements GLEventListener {
try {
System.err.println(glp+" GLInfo.run() 1");
- window.setVisible(true);
-
System.err.println(glp+" GLInfo.run() 2");
window.display();