diff options
author | Francisco Jerez <[email protected]> | 2013-04-07 18:31:06 +0200 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2013-04-13 14:24:10 +0200 |
commit | 02b808b08acc73b9b3d31832a7f137a9aae4bdd9 (patch) | |
tree | 4ca1e9b9cf726ddaef43f4f98b0aa46ced93ffe3 /src/gallium/state_trackers/clover/api | |
parent | 1a8ad6c2e3beb00d07ef109b984658e08c5729da (diff) |
clover: Fix usage of incorrect object as destination in clEnqueueCopyBufferToImage.
Signed-off-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/clover/api')
-rw-r--r-- | src/gallium/state_trackers/clover/api/transfer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/clover/api/transfer.cpp b/src/gallium/state_trackers/clover/api/transfer.cpp index 295d6c7b29e..7e6b26f9603 100644 --- a/src/gallium/state_trackers/clover/api/transfer.cpp +++ b/src/gallium/state_trackers/clover/api/transfer.cpp @@ -414,7 +414,7 @@ clEnqueueCopyBufferToImage(cl_command_queue q, cl_mem src_obj, cl_mem dst_obj, const size_t *dst_origin, const size_t *region, cl_uint num_deps, const cl_event *deps, cl_event *ev) try { - image *dst_img = dynamic_cast<image *>(src_obj); + image *dst_img = dynamic_cast<image *>(dst_obj); validate_base(q, num_deps, deps); validate_obj(q, src_obj); |