summaryrefslogtreecommitdiffstats
path: root/src/demos/es1
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2009-07-31 11:55:45 -0700
committerSven Gothel <[email protected]>2009-07-31 11:55:45 -0700
commitfb20e6606b0d1c1846547dd728cb77bafc671baf (patch)
treecba03c22350430e54ae9149e5bb3343d15122793 /src/demos/es1
parent56cdd9e61e28fb7fc542163d4009f1de3b397904 (diff)
Fix windows start scripts (CVM/J2SE)
Diffstat (limited to 'src/demos/es1')
-rwxr-xr-xsrc/demos/es1/RedSquare.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/demos/es1/RedSquare.java b/src/demos/es1/RedSquare.java
index 8931b6c..17dd69e 100755
--- a/src/demos/es1/RedSquare.java
+++ b/src/demos/es1/RedSquare.java
@@ -168,6 +168,8 @@ public class RedSquare extends Thread implements WindowListener, KeyListener, Mo
gl.setSwapInterval(swapInterval);
}
+ glu = GLU.createGLU();
+
System.err.println(glp+" Entering initialization");
System.err.println(glp+" GL Profile: "+gl.getGLProfile());
System.err.println(glp+" GL:" + gl);
@@ -175,8 +177,7 @@ public class RedSquare extends Thread implements WindowListener, KeyListener, Mo
System.err.println(glp+" GL_EXTENSIONS:");
System.err.println(glp+" " + gl.glGetString(gl.GL_EXTENSIONS));
System.err.println(glp+" swapInterval: " + swapInterval + " (GL: "+gl.getSwapInterval()+")");
-
- glu = GLU.createGLU();
+ System.err.println(glp+" GLU: " + glu);
// Allocate vertex arrays
colors = BufferUtil.newFloatBuffer(16);