From 1ff81eb806d6df78994a808217eb2c5f6b4ef8da Mon Sep 17 00:00:00 2001
From: Sven Gothel <sgothel@jausoft.com>
Date: Thu, 14 Oct 2010 21:34:27 +0200
Subject: Fix/Syn with JOGL 774138544e1eec3330309ad682fa05154a07ab8d ; Notably
 add: Applet's with native NEWT support, ie jogl-newt-applet-runner-gears.html

---
 src/gleem/TestMultiWin.java | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

(limited to 'src/gleem/TestMultiWin.java')

diff --git a/src/gleem/TestMultiWin.java b/src/gleem/TestMultiWin.java
index 0c81b71..521f7db 100644
--- a/src/gleem/TestMultiWin.java
+++ b/src/gleem/TestMultiWin.java
@@ -60,9 +60,6 @@ import javax.media.opengl.glu.GLU;
 /** Tests viewing manipulators in multiple winodws. */
 
 public class TestMultiWin {
-  static {
-    GLProfile.initSingleton();
-  }
   private static final int X_SIZE = 400;
   private static final int Y_SIZE = 400;
 
@@ -170,6 +167,7 @@ public class TestMultiWin {
   }
 
   public static void main(String[] args) {
+    GLProfile.initSingleton(true);
     // Instantiate HandleBoxManip
     manip = new HandleBoxManip();
     manip.setTranslation(new Vec3f(0, 0, -10));
-- 
cgit v1.2.3