From d587291ccfc23970647192aeffc99fc60b17829c Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 12 Oct 2013 22:18:19 +0200 Subject: Fix Bug 573: putCopyBuffer(..)'s src/dest offset was not passed to putCopyBuffer(..) impl. method --- src/com/jogamp/opencl/CLCommandQueue.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } /** -- cgit v1.2.3