summaryrefslogtreecommitdiffstats
path: root/src/com/jogamp/opencl/demos/joglinterop/GLCLInteroperabilityDemo.java
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-06-16 16:23:03 +0200
committerMichael Bien <[email protected]>2010-06-16 16:23:03 +0200
commit40d4bec71f77184eb4e8f2c9e84536c0149d2e6d (patch)
tree3dfd0096b356fcdabefac86c76dcd3b9bff6dfc0 /src/com/jogamp/opencl/demos/joglinterop/GLCLInteroperabilityDemo.java
parentc72028bf7d23378393d1ed5a8e6d5a00ac2a38f8 (diff)
added GLProfile.initSingleton() to GL-CL demos (see JOGL Multithreading doc).
Diffstat (limited to 'src/com/jogamp/opencl/demos/joglinterop/GLCLInteroperabilityDemo.java')
-rw-r--r--src/com/jogamp/opencl/demos/joglinterop/GLCLInteroperabilityDemo.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/jogamp/opencl/demos/joglinterop/GLCLInteroperabilityDemo.java b/src/com/jogamp/opencl/demos/joglinterop/GLCLInteroperabilityDemo.java
index 3abe1de..8a0d018 100644
--- a/src/com/jogamp/opencl/demos/joglinterop/GLCLInteroperabilityDemo.java
+++ b/src/com/jogamp/opencl/demos/joglinterop/GLCLInteroperabilityDemo.java
@@ -274,6 +274,7 @@ public class GLCLInteroperabilityDemo implements GLEventListener {
public void dispose(GLAutoDrawable drawable) { }
public static void main(String[] args) {
+ GLProfile.initSingleton();
new GLCLInteroperabilityDemo();
}