mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-11-30 22:24:15 +01:00
[d3d11] Fixed CopySubresourceRegion for partial buffer updates
Fixes a subtle bug that caused the Fallout 4 menu to render random geometry.
This commit is contained in:
parent
dbf3fd768d
commit
82fc851f32
@ -261,7 +261,7 @@ namespace dxvk {
|
||||
VkDeviceSize srcLength = srcBuffer.length();
|
||||
|
||||
if (pSrcBox != nullptr) {
|
||||
if (pSrcBox->right > pSrcBox->left)
|
||||
if (pSrcBox->left > pSrcBox->right)
|
||||
return; // no-op, but legal
|
||||
|
||||
srcOffset = pSrcBox->left;
|
||||
|
Loading…
Reference in New Issue
Block a user