summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-10-12 22:18:19 +0200
committerSven Gothel <[email protected]>2013-10-12 22:18:19 +0200
commitd587291ccfc23970647192aeffc99fc60b17829c (patch)
treea562a841a85001085b48ac801e27df9ff65011df
parentef02c4dc2aced367ad5de29171d138161e2b3514 (diff)
Fix Bug 573: putCopyBuffer(..)'s src/dest offset was not passed to putCopyBuffer(..) impl. method
-rw-r--r--src/com/jogamp/opencl/CLCommandQueue.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/jogamp/opencl/CLCommandQueue.java b/src/com/jogamp/opencl/CLCommandQueue.java
index 7334f0cb..d0548acb 100644
--- a/src/com/jogamp/opencl/CLCommandQueue.java
+++ b/src/com/jogamp/opencl/CLCommandQueue.java
@@ -206,7 +206,7 @@ public class CLCommandQueue extends CLObjectResource {
* Calls {@native clEnqueueCopyBuffer}.
*/
public CLCommandQueue putCopyBuffer(CLBuffer<?> src, CLBuffer<?> dest, int srcOffset, int destOffset, long bytesToCopy, CLEventList events) {
- return putCopyBuffer(src, dest, 0, 0, bytesToCopy, null, events);
+ return putCopyBuffer(src, dest, srcOffset, destOffset, bytesToCopy, null, events);
}
/**