mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2025-08-25 13:34:02 -07: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