mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-29 17:52:18 +01:00
[d3d9] Fix initial mapping of images written by GPU
This commit is contained in:
parent
679d703efc
commit
5f4f4d57df
@ -4183,7 +4183,7 @@ namespace dxvk {
|
||||
else {
|
||||
physSlice = mappedBuffer->getSliceHandle();
|
||||
|
||||
if (!alloced) {
|
||||
if (!alloced || wasWrittenByGPU) {
|
||||
if (unlikely(wasWrittenByGPU)) {
|
||||
Rc<DxvkImage> resourceImage = pResource->GetImage();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user