0
0
Fork 0
mirror of https://github.com/GreemDev/Ryujinx.git synced 2024-12-26 04:55:47 +00:00
Ryujinx/Ryujinx.HLE/HOS/Services/Vi/RootService
Mary 73881fad19
Surface Flinger: Fix an oversight when closing a layer (#2192)
* Surface Flinger: Fix an oversight when closing a layer

As the title say.
I also took the liberty of changing the logic on how we select the
current layer being rendered to make it more explicit when opening and
creating layers.

NOTE: Found by Ac_k.

* check for RenderLayerId and not the dictionary size

This fix a possible race condition between the time you create a layer and set the one currently used for rendering
2021-04-13 02:56:16 +02:00
..
ApplicationDisplayService Surface Flinger: Fix an oversight when closing a layer (#2192) 2021-04-13 02:56:16 +02:00
IApplicationDisplayService.cs Surface Flinger: Fix an oversight when closing a layer (#2192) 2021-04-13 02:56:16 +02:00