summaryrefslogtreecommitdiffstats
path: root/src/demos/gears/Gears.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/gears/Gears.java')
-rw-r--r--src/demos/gears/Gears.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demos/gears/Gears.java b/src/demos/gears/Gears.java
index 9382e40..666cb64 100644
--- a/src/demos/gears/Gears.java
+++ b/src/demos/gears/Gears.java
@@ -16,7 +16,7 @@ import com.sun.opengl.utils.*;
public class Gears implements GLEventListener, MouseListener, MouseMotionListener {
public static void main(String[] args) {
Frame frame = new Frame("Gear Demo");
- GLCanvas canvas = GLDrawableFactory.getFactory().createGLCanvas(new GLCapabilities());
+ GLCanvas canvas = new GLCanvas();
canvas.addGLEventListener(new Gears());
frame.add(canvas);