summaryrefslogtreecommitdiffstats
path: root/src/demos/tess/Tess.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/tess/Tess.java')
-rw-r--r--src/demos/tess/Tess.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demos/tess/Tess.java b/src/demos/tess/Tess.java
index d4c9729..5c587c2 100644
--- a/src/demos/tess/Tess.java
+++ b/src/demos/tess/Tess.java
@@ -72,7 +72,7 @@ public class Tess {
Frame frame = new Frame("Tess Demo");
frame.setSize(500, 500);
- GLCanvas canvas = GLDrawableFactory.getFactory().createGLCanvas(new GLCapabilities());
+ GLCanvas canvas = new GLCanvas();
frame.add(canvas);
canvas.addGLEventListener(new TessRenderer());