mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-05 12:05:06 +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