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/julia3d | |
parent | c72028bf7d23378393d1ed5a8e6d5a00ac2a38f8 (diff) |
added GLProfile.initSingleton() to GL-CL demos (see JOGL Multithreading doc).
Diffstat (limited to 'src/com/jogamp/opencl/demos/julia3d')
-rw-r--r-- | src/com/jogamp/opencl/demos/julia3d/Julia3d.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/jogamp/opencl/demos/julia3d/Julia3d.java b/src/com/jogamp/opencl/demos/julia3d/Julia3d.java index f4bf392..4216af8 100644 --- a/src/com/jogamp/opencl/demos/julia3d/Julia3d.java +++ b/src/com/jogamp/opencl/demos/julia3d/Julia3d.java @@ -14,6 +14,7 @@ import java.io.IOException; import java.nio.Buffer; import java.nio.ByteBuffer; import java.nio.FloatBuffer; +import javax.media.opengl.GLProfile; import javax.swing.SwingUtilities; import static com.jogamp.opencl.CLMemory.Mem.*; @@ -188,7 +189,7 @@ public class Julia3d { public static void main(String[] args) { - + GLProfile.initSingleton(); RenderingConfig config = RenderingConfig.create() .setWidth(640).setHeight(480) .setEnableShadow(1) |