summaryrefslogtreecommitdiffstats
path: root/src/gleem/TestHandleBox.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-10-14 21:34:27 +0200
committerSven Gothel <[email protected]>2010-10-14 21:34:27 +0200
commit1ff81eb806d6df78994a808217eb2c5f6b4ef8da (patch)
tree7ae11fd92f63019c6c54862c66eb2656bcc2ef97 /src/gleem/TestHandleBox.java
parent0d1ea8ae8eb940b1b29f4f80c232a1d456300362 (diff)
Fix/Syn with JOGL 774138544e1eec3330309ad682fa05154a07ab8d ; Notably add: Applet's with native NEWT support, ie jogl-newt-applet-runner-gears.html
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) {