summaryrefslogtreecommitdiffstats
path: root/src/demos/jgears
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/jgears')
-rw-r--r--src/demos/jgears/JGears.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/demos/jgears/JGears.java b/src/demos/jgears/JGears.java
index 6adc528..ee0690c 100644
--- a/src/demos/jgears/JGears.java
+++ b/src/demos/jgears/JGears.java
@@ -17,11 +17,6 @@ public class JGears {
Frame frame = new Frame("Gear Demo");
GLJPanel drawable = GLDrawableFactory.getFactory().createGLJPanel(new GLCapabilities());
- // Use debug pipeline
- // drawable.setGL(new DebugGL(drawable.getGL()));
- System.err.println("DRAWABLE GL IS: " + drawable.getGL().getClass().getName());
- System.err.println("DRAWABLE GLU IS: " + drawable.getGLU().getClass().getName());
-
drawable.addGLEventListener(new GearRenderer());
frame.add(drawable);
frame.setSize(300, 300);
@@ -53,6 +48,9 @@ public class JGears {
public void init(GLDrawable drawable) {
+ // Use debug pipeline
+ // drawable.setGL(new DebugGL(drawable.getGL()));
+
GL gl = drawable.getGL();
System.err.println("INIT GL IS: " + gl.getClass().getName());