[client] egl: fix desktop spice toggle race

This commit is contained in:
Geoffrey McRae 2024-03-12 11:58:16 +11:00
parent d902afa3dc
commit 13b9756e80

View file

@ -624,4 +624,5 @@ void egl_desktopSpiceDrawBitmap(EGL_Desktop * desktop, int x, int y, int width,
void egl_desktopSpiceShow(EGL_Desktop * desktop, bool show)
{
desktop->useSpice = show;
atomic_store(&desktop->processFrame, true);
}