mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-20 22:18:15 +00:00
nvnflinger: ensure display abandonment considers all layers and future layers
This commit is contained in:
parent
12979632a2
commit
5f9a3c23db
3 changed files with 15 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue