From 252b518140b29044a71a6862df594c3374cfb442 Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Sun, 21 Feb 2010 01:30:44 +0100 Subject: 32bit/CPU device compatibility and cleanup. --- src/com/mbien/opencl/demos/fractal/MultiDeviceFractal.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/com/mbien/opencl/demos/fractal/MultiDeviceFractal.java') diff --git a/src/com/mbien/opencl/demos/fractal/MultiDeviceFractal.java b/src/com/mbien/opencl/demos/fractal/MultiDeviceFractal.java index 66c6e36..899eae9 100644 --- a/src/com/mbien/opencl/demos/fractal/MultiDeviceFractal.java +++ b/src/com/mbien/opencl/demos/fractal/MultiDeviceFractal.java @@ -236,7 +236,7 @@ public class MultiDeviceFractal implements GLEventListener { gl.glBufferData(GL_PIXEL_UNPACK_BUFFER, width*height * SIZEOF_INT / slices, null, GL_STREAM_DRAW); gl.glBindBuffer(GL_PIXEL_UNPACK_BUFFER, 0); - pboBuffers[i] = clContext.createFromGLBuffer(null, pbo[i], WRITE_ONLY); + pboBuffers[i] = clContext.createFromGLBuffer(pbo[i], WRITE_ONLY); } -- cgit v1.2.3