diff options
author | Michael Bien <[email protected]> | 2010-06-16 16:23:03 +0200 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-06-16 16:23:03 +0200 |
commit | 40d4bec71f77184eb4e8f2c9e84536c0149d2e6d (patch) | |
tree | 3dfd0096b356fcdabefac86c76dcd3b9bff6dfc0 /src/com/jogamp/opencl/demos/joglinterop/GLCLInteroperabilityDemo.java | |
parent | c72028bf7d23378393d1ed5a8e6d5a00ac2a38f8 (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.java | 1 |
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(); } |