diff options
author | Michael Bien <[email protected]> | 2011-07-25 03:49:11 +0200 |
---|---|---|
committer | Michael Bien <[email protected]> | 2011-07-25 03:49:11 +0200 |
commit | 2cda8a85437df106320f4237caeadd7ed1bd7578 (patch) | |
tree | 1c52e797515bd83aa3afacac42a91964d416bb53 /src/com/jogamp/opencl | |
parent | 1662b601e7ea55381b922074d7253d75a177e3b9 (diff) |
unused parameters - fixed copy&paste bug in read/writeBufferRect method + added junit test.
Diffstat (limited to 'src/com/jogamp/opencl')
-rw-r--r-- | src/com/jogamp/opencl/CLCommandQueue.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/com/jogamp/opencl/CLCommandQueue.java b/src/com/jogamp/opencl/CLCommandQueue.java index 016192c3..4878b4fa 100644 --- a/src/com/jogamp/opencl/CLCommandQueue.java +++ b/src/com/jogamp/opencl/CLCommandQueue.java @@ -259,7 +259,8 @@ public class CLCommandQueue extends CLObjectResource { putWriteBufferRect( writeBuffer, originX, originY, 0, hostX, hostY, 0, rangeX, rangeY, 1, - 0, 0, 0, 0, blockingWrite, condition, events); + rowPitch, slicePitch, hostRowPitch, hostSlicePitch, + blockingWrite, condition, events); return this; } @@ -336,7 +337,8 @@ public class CLCommandQueue extends CLObjectResource { putReadBufferRect( readBuffer, originX, originY, 0, hostX, hostY, 0, rangeX, rangeY, 1, - 0, 0, 0, 0, blockingRead, condition, events); + rowPitch, slicePitch, hostRowPitch, hostSlicePitch, + blockingRead, condition, events); return this; } |