mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-02 01:24:11 +01:00
[d3d9] Fix offset in UpdateSurface
This commit is contained in:
parent
0bc8b0b33a
commit
13f53531e5
@ -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 });
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user