diff options
author | Sven Gothel <[email protected]> | 2012-08-18 16:42:03 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-08-18 16:42:03 +0200 |
commit | 5a196a9690a6ef43e38394992ef0c3874dbc0392 (patch) | |
tree | 729e5ffc5f8f44fbeeb791c2e0adb8de4fff9872 /src/com/jogamp/opencl/demos | |
parent | 0e6bf2a0a9b3df729d6984bdc1a857889a3c1bdf (diff) |
Adapt to JOGL changes 3ab518e90eb4cf82bcb8b990d337a5e4a531136b: Removed deprecated GLProfile.initSingleton(boolean), use GLProfile.initSingleton() instead.
Diffstat (limited to 'src/com/jogamp/opencl/demos')
3 files changed, 3 insertions, 6 deletions
diff --git a/src/com/jogamp/opencl/demos/fractal/MultiDeviceFractal.java b/src/com/jogamp/opencl/demos/fractal/MultiDeviceFractal.java index 67c4957..0cbb340 100644 --- a/src/com/jogamp/opencl/demos/fractal/MultiDeviceFractal.java +++ b/src/com/jogamp/opencl/demos/fractal/MultiDeviceFractal.java @@ -549,8 +549,7 @@ public class MultiDeviceFractal implements GLEventListener { public static void main(String args[]) { - //false for webstart compatibility - GLProfile.initSingleton(false); + GLProfile.initSingleton(); SwingUtilities.invokeLater(new Runnable() { @Override public void run() { diff --git a/src/com/jogamp/opencl/demos/joglinterop/GLCLInteroperabilityDemo.java b/src/com/jogamp/opencl/demos/joglinterop/GLCLInteroperabilityDemo.java index 8fb4c9f..7ea66b7 100644 --- a/src/com/jogamp/opencl/demos/joglinterop/GLCLInteroperabilityDemo.java +++ b/src/com/jogamp/opencl/demos/joglinterop/GLCLInteroperabilityDemo.java @@ -281,8 +281,7 @@ public class GLCLInteroperabilityDemo implements GLEventListener { public void dispose(GLAutoDrawable drawable) { } public static void main(String[] args) { - //false for webstart compatibility - GLProfile.initSingleton(false); + GLProfile.initSingleton(); new GLCLInteroperabilityDemo(); } diff --git a/src/com/jogamp/opencl/demos/julia3d/Julia3d.java b/src/com/jogamp/opencl/demos/julia3d/Julia3d.java index 3b9c715..65d66b2 100644 --- a/src/com/jogamp/opencl/demos/julia3d/Julia3d.java +++ b/src/com/jogamp/opencl/demos/julia3d/Julia3d.java @@ -197,8 +197,7 @@ public class Julia3d { public static void main(String[] args) { - //false for webstart compatibility - GLProfile.initSingleton(false); + GLProfile.initSingleton(); final RenderingConfig config = RenderingConfig.create() .setWidth(640).setHeight(480) |