Jogamp
GLProfile.initSingleton(false) for webstart compatibility.
authorMichael Bien <mbien@fh-landshut.de>
Mon, 7 Feb 2011 13:16:58 +0000 (14:16 +0100)
committerMichael Bien <mbien@fh-landshut.de>
Mon, 7 Feb 2011 13:16:58 +0000 (14:16 +0100)
src/com/jogamp/opencl/demos/fractal/MultiDeviceFractal.java
src/com/jogamp/opencl/demos/joglinterop/GLCLInteroperabilityDemo.java
src/com/jogamp/opencl/demos/julia3d/Julia3d.java

index 61002b0..9fcd172 100644 (file)
@@ -544,7 +544,10 @@ public class MultiDeviceFractal implements GLEventListener {
     }
 
     public static void main(String args[]) {
-        GLProfile.initSingleton(true);
+        
+        //false for webstart compatibility
+        GLProfile.initSingleton(false);
+        
         SwingUtilities.invokeLater(new Runnable() {
             public void run() {
                 new MultiDeviceFractal(512, 512);
index 1ba9c6e..fbd3775 100644 (file)
@@ -274,7 +274,9 @@ public class GLCLInteroperabilityDemo implements GLEventListener {
     public void dispose(GLAutoDrawable drawable) {  }
 
     public static void main(String[] args) {
-        GLProfile.initSingleton(true);
+        //false for webstart compatibility
+        GLProfile.initSingleton(false);
+        
         new GLCLInteroperabilityDemo();
     }
 
index 45bf706..3b9c715 100644 (file)
@@ -197,7 +197,8 @@ public class Julia3d {
 
     public static void main(String[] args) {
         
-        GLProfile.initSingleton(true);
+        //false for webstart compatibility
+        GLProfile.initSingleton(false);
         
         final RenderingConfig config = RenderingConfig.create()
             .setWidth(640).setHeight(480)
http://JogAmp.org git info: FAQ, tutorial and man pages.