diff --git a/src/d3d9/d3d9_device.cpp b/src/d3d9/d3d9_device.cpp index e2b35ca6..6c562070 100644 --- a/src/d3d9/d3d9_device.cpp +++ b/src/d3d9/d3d9_device.cpp @@ -705,12 +705,11 @@ namespace dxvk { cSrcSlice = slice.slice, cDstLayers = dstSubresource, cDstOffset = dstOffset, - cSrcOffset = srcByteOffset + slice.slice.offset(), cCopyExtent = copyExtent ] (DxvkContext* ctx) { ctx->copyBufferToImage( cDstImage, cDstLayers, cDstOffset, cCopyExtent, - cSrcSlice.buffer(), cSrcSlice.offset() + cSrcOffset, + cSrcSlice.buffer(), cSrcSlice.offset(), VkExtent2D { 0, 0 }); });