mirror of
https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
synced 2025-12-22 02:52:41 +00:00
nvnflinger: ensure display abandonment considers all layers and future layers
This commit is contained in:
@@ -112,9 +112,7 @@ void Nvnflinger::ShutdownLayers() {
|
||||
{
|
||||
const auto lock_guard = Lock();
|
||||
for (auto& display : displays) {
|
||||
for (size_t layer = 0; layer < display.GetNumLayers(); ++layer) {
|
||||
display.GetLayer(layer).GetConsumer().Abandon();
|
||||
}
|
||||
display.Abandon();
|
||||
}
|
||||
|
||||
is_abandoned = true;
|
||||
|
||||
Reference in New Issue
Block a user