From 4b9a72c24bb97ed81c79c3931d4ffb5fa53d9978 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 4 Oct 2009 00:19:32 -0700 Subject: Add ReadBuffer Demos/ModuleTests; Incl. SurfaceUpdated Listener, ReadPixel to file, texture - direct or via attaching the drawable to another context as it's readbuffer --- src/demos/es2/RedSquare.java | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/demos/es2/RedSquare.java') 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 { -- cgit v1.2.3