From d068770b551f6e7f35638ce0426d507f38cdf8b5 Mon Sep 17 00:00:00 2001
From: Michael Bien <mbien@fh-landshut.de>
Date: Mon, 7 Feb 2011 14:16:58 +0100
Subject: GLProfile.initSingleton(false) for webstart compatibility.

---
 src/com/jogamp/opencl/demos/joglinterop/GLCLInteroperabilityDemo.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'src/com/jogamp/opencl/demos/joglinterop')

diff --git a/src/com/jogamp/opencl/demos/joglinterop/GLCLInteroperabilityDemo.java b/src/com/jogamp/opencl/demos/joglinterop/GLCLInteroperabilityDemo.java
index 1ba9c6e..fbd3775 100644
--- a/src/com/jogamp/opencl/demos/joglinterop/GLCLInteroperabilityDemo.java
+++ b/src/com/jogamp/opencl/demos/joglinterop/GLCLInteroperabilityDemo.java
@@ -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();
     }
 
-- 
cgit v1.2.3