summaryrefslogtreecommitdiffstats
path: root/src/com/jogamp/opencl/demos/fractal
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2011-04-26 03:59:23 +0200
committerMichael Bien <[email protected]>2011-04-26 03:59:23 +0200
commit5356c2e6effcdec3c3a6e4f492ea8742bed668eb (patch)
tree5360516f7ca873623c4f9afc7258b4de0aca8086 /src/com/jogamp/opencl/demos/fractal
parentbb3cc47fefe772fdb9977daf34d7f7289183ad7d (diff)
compatibility update to latest jocl.
Diffstat (limited to 'src/com/jogamp/opencl/demos/fractal')
-rw-r--r--src/com/jogamp/opencl/demos/fractal/MultiDeviceFractal.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/com/jogamp/opencl/demos/fractal/MultiDeviceFractal.java b/src/com/jogamp/opencl/demos/fractal/MultiDeviceFractal.java
index 9fcd172..f03c0b8 100644
--- a/src/com/jogamp/opencl/demos/fractal/MultiDeviceFractal.java
+++ b/src/com/jogamp/opencl/demos/fractal/MultiDeviceFractal.java
@@ -12,6 +12,7 @@ import com.jogamp.opencl.CLKernel;
import com.jogamp.opencl.CLPlatform;
import com.jogamp.opencl.CLProgram;
import com.jogamp.opencl.CLProgram.CompilerOptions;
+import com.jogamp.opencl.util.CLPlatformFilters;
import com.jogamp.opencl.util.CLProgramConfiguration;
import com.jogamp.opengl.util.awt.TextRenderer;
import java.awt.Color;
@@ -386,9 +387,9 @@ public class MultiDeviceFractal implements GLEventListener {
.rewind();
// aquire GL objects, and enqueue a kernel with a probe from the list
- queues[i].putAcquireGLObject(pboBuffers[i].ID)
+ queues[i].putAcquireGLObject(pboBuffers[i])
.put2DRangeKernel(kernels[i], 0, 0, sliceWidth, height, 0, 0, probes)
- .putReleaseGLObject(pboBuffers[i].ID);
+ .putReleaseGLObject(pboBuffers[i]);
}