diff options
Diffstat (limited to 'src/demos/es1/cube')
-rw-r--r-- | src/demos/es1/cube/Cube.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/demos/es1/cube/Cube.java b/src/demos/es1/cube/Cube.java index 7db30b2..b77c4e9 100644 --- a/src/demos/es1/cube/Cube.java +++ b/src/demos/es1/cube/Cube.java @@ -180,10 +180,6 @@ public class Cube implements GLEventListener { public void display(GLAutoDrawable drawable) { GL gl = drawable.getGL(); - GL2ES1 glF=null; - if(gl.isGL2ES1()) { - glF = drawable.getGL().getGL2ES1(); - } gl.glClear(gl.GL_COLOR_BUFFER_BIT | gl.GL_DEPTH_BUFFER_BIT); @@ -195,8 +191,6 @@ public class Cube implements GLEventListener { gl.glRotatef((float)(time * 22.311f), -0.1f, 0.0f, -5.0f); gl.glDrawElements(gl.GL_TRIANGLES, 6 * 6, gl.GL_UNSIGNED_BYTE, cubeIndices); - // gl.glFinish(); - // System.err.println(gl); time += 0.01f; } |