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