mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-22 19:49:17 +01:00
Avoid redundant GPU-dirty propagation for direct buffer recreation
This commit is contained in:
parent
4a3a40aa40
commit
a65aa28df2
@ -126,7 +126,7 @@ namespace skyline::gpu {
|
||||
copyBuffer(*newBuffer->guest, *srcBuffer->guest, newBuffer->backing->data(), srcBuffer->backing->data());
|
||||
}
|
||||
} else {
|
||||
if (srcBuffer->directGpuWritesActive) {
|
||||
if (srcBuffer->RefreshGpuWritesActiveDirect(false, {})) {
|
||||
newBuffer->MarkGpuDirtyImpl();
|
||||
} else if (srcBuffer->directTrackedShadowActive) {
|
||||
newBuffer->EnableTrackedShadowDirect();
|
||||
|
Loading…
Reference in New Issue
Block a user