From be0ebf39ac48e904803ad35ad280dc6ecde03119 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 21 Jun 2012 20:58:04 +0200 Subject: Remove GLProfile.initSingleton(..) calls and JNLP argument 'NotFirstUIActionOnProcess'; Adapt to CapabilitiesChooser API/generics change; Misc - Remove GLProfile.initSingleton(..) calls and JNLP argument 'NotFirstUIActionOnProcess' - Adapt to CapabilitiesChooser API/generics change - Cleanup some generics use .. etc --- src/demos/vertexProgRefract/VertexProgRefract.java | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/demos/vertexProgRefract/VertexProgRefract.java') diff --git a/src/demos/vertexProgRefract/VertexProgRefract.java b/src/demos/vertexProgRefract/VertexProgRefract.java index 9915fae..9b4b358 100644 --- a/src/demos/vertexProgRefract/VertexProgRefract.java +++ b/src/demos/vertexProgRefract/VertexProgRefract.java @@ -56,7 +56,6 @@ import java.awt.event.WindowEvent; import java.io.IOException; import javax.media.opengl.*; import javax.media.opengl.awt.*; -import javax.media.opengl.glu.GLU; import com.jogamp.opengl.util.Animator; import javax.swing.JOptionPane; @@ -76,13 +75,6 @@ import javax.swing.JOptionPane; public class VertexProgRefract extends Demo { public static void main(String[] args) { - // set argument 'NotFirstUIActionOnProcess' in the JNLP's application-desc tag for example - // - // NotFirstUIActionOnProcess - // - boolean firstUIActionOnProcess = 0==args.length || !args[0].equals("NotFirstUIActionOnProcess") ; - GLProfile.initSingleton(firstUIActionOnProcess); - GLCanvas canvas = new GLCanvas(); final VertexProgRefract demo = new VertexProgRefract(); @@ -127,7 +119,6 @@ public class VertexProgRefract extends Demo { private int bunnydl; private int obj; - private GLU glu = new GLU(); private GLUT glut = new GLUT(); private GLAutoDrawable drawable; -- cgit v1.2.3