summaryrefslogtreecommitdiffstats
path: root/src/gleem/TestMultiWin.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/gleem/TestMultiWin.java')
-rw-r--r--src/gleem/TestMultiWin.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gleem/TestMultiWin.java b/src/gleem/TestMultiWin.java
index 1a1fcf1..7d73583 100644
--- a/src/gleem/TestMultiWin.java
+++ b/src/gleem/TestMultiWin.java
@@ -142,8 +142,7 @@ public class TestMultiWin {
}
});
frame.setLayout(new BorderLayout());
- GLCanvas canvas =
- GLDrawableFactory.getFactory().createGLCanvas(new GLCapabilities());
+ GLCanvas canvas = new GLCanvas();
canvas.setSize(400, 400);
canvas.addGLEventListener(new Listener());
frame.add(canvas, BorderLayout.CENTER);