From 9d278dff86c07218ff2616745381ccc2689f8ea5 Mon Sep 17 00:00:00 2001 From: First Last Date: Thu, 16 Jun 2005 23:02:03 +0000 Subject: This commit was manufactured by cvs2svn to create branch 'JSR-231'. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JSR-231@93 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4 --- src/demos/jgears/JGears.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/demos/jgears') diff --git a/src/demos/jgears/JGears.java b/src/demos/jgears/JGears.java index ee0690c..6adc528 100644 --- a/src/demos/jgears/JGears.java +++ b/src/demos/jgears/JGears.java @@ -17,6 +17,11 @@ 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); @@ -48,9 +53,6 @@ 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()); -- cgit v1.2.3