diff options
Diffstat (limited to 'src/gleem/TestTranslate1.java')
-rw-r--r-- | src/gleem/TestTranslate1.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gleem/TestTranslate1.java b/src/gleem/TestTranslate1.java index b9eb81a..93a97d0 100644 --- a/src/gleem/TestTranslate1.java +++ b/src/gleem/TestTranslate1.java @@ -134,8 +134,7 @@ public class TestTranslate1 { } }); 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); |