summaryrefslogtreecommitdiffstats
path: root/src/demos/es1/RedSquare.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/es1/RedSquare.java')
-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);