diff options
author | Sven Gothel <[email protected]> | 2009-10-04 00:19:32 -0700 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2009-10-04 00:19:32 -0700 |
commit | 4b9a72c24bb97ed81c79c3931d4ffb5fa53d9978 (patch) | |
tree | 0237b562f04fbe56fe0245dbbefecfc6c608caee /src/demos/es2/RedSquare.java | |
parent | 30c1fe267c0cf47a25db06ac93c6065881af2a20 (diff) |
Add ReadBuffer Demos/ModuleTests; Incl. SurfaceUpdated Listener, ReadPixel to file, texture - direct or via attaching the drawable to another context as it's readbuffer
Diffstat (limited to 'src/demos/es2/RedSquare.java')
-rwxr-xr-x | src/demos/es2/RedSquare.java | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/demos/es2/RedSquare.java b/src/demos/es2/RedSquare.java index 4d518a2..2acb321 100755 --- a/src/demos/es2/RedSquare.java +++ b/src/demos/es2/RedSquare.java @@ -3,7 +3,6 @@ package demos.es2; import java.nio.*; import java.util.*; import javax.media.opengl.*; -import javax.media.opengl.glu.*; import javax.media.nativewindow.*; import com.sun.opengl.util.*; @@ -16,7 +15,6 @@ public class RedSquare extends Thread implements WindowListener, KeyListener, Mo public GLWindow window; private GLProfile glp; - private GLU glu; private boolean quit = false; private String glprofile; private int type; @@ -189,8 +187,6 @@ 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); @@ -198,7 +194,6 @@ 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()+")"); - System.err.println(glp+" GLU: " + glu); if(debuggl) { try { |