summaryrefslogtreecommitdiffstats
path: root/src/gleem/TestHandleBox.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/gleem/TestHandleBox.java')
-rw-r--r--src/gleem/TestHandleBox.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gleem/TestHandleBox.java b/src/gleem/TestHandleBox.java
index 76583f3..6e27441 100644
--- a/src/gleem/TestHandleBox.java
+++ b/src/gleem/TestHandleBox.java
@@ -58,10 +58,6 @@ import javax.media.opengl.glu.GLU;
/** Tests the HandleBox Manip. */
public class TestHandleBox {
- static {
- GLProfile.initSingleton();
- }
-
private static final int X_SIZE = 400;
private static final int Y_SIZE = 400;
@@ -142,6 +138,7 @@ public class TestHandleBox {
}
public static void main(String[] args) {
+ GLProfile.initSingleton(true);
Frame frame = new Frame("HandleBox Test");
frame.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) {