summaryrefslogtreecommitdiffstats
path: root/src/gleem/TestExaminerViewer.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/gleem/TestExaminerViewer.java')
-rw-r--r--src/gleem/TestExaminerViewer.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gleem/TestExaminerViewer.java b/src/gleem/TestExaminerViewer.java
index 7e52992..d7e4734 100644
--- a/src/gleem/TestExaminerViewer.java
+++ b/src/gleem/TestExaminerViewer.java
@@ -143,8 +143,7 @@ public class TestExaminerViewer {
}
});
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);