summaryrefslogtreecommitdiffstats
path: root/src/com/jogamp/opencl
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/jogamp/opencl')
-rw-r--r--src/com/jogamp/opencl/CLCommandQueue.java6
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;
}