0
0
Fork 0
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2024-12-25 01:05:44 +00:00
ryujinx-fork/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