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/gears/Gears.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/demos/gears') diff --git a/src/demos/gears/Gears.java b/src/demos/gears/Gears.java index da8fdba..775dcf0 100644 --- a/src/demos/gears/Gears.java +++ b/src/demos/gears/Gears.java @@ -17,6 +17,11 @@ public class Gears { Frame frame = new Frame("Gear Demo"); GLCanvas canvas = GLDrawableFactory.getFactory().createGLCanvas(new GLCapabilities()); + // Use debug pipeline + // canvas.setGL(new DebugGL(canvas.getGL())); + System.err.println("CANVAS GL IS: " + canvas.getGL().getClass().getName()); + System.err.println("CANVAS GLU IS: " + canvas.getGLU().getClass().getName()); + canvas.addGLEventListener(new GearRenderer()); frame.add(canvas); frame.setSize(300, 300); @@ -47,11 +52,7 @@ public class Gears { private boolean mouseRButtonDown = false; 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()); gl.setSwapInterval(1); -- cgit v1.2.3