mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +00:00
[client] main: use skipFrame and signal frameEvent
We need to signal frameEvent to render the first frame. Otherwise, wayland fails to configure the window, as configuration happens in EGL swap.
This commit is contained in:
@@ -173,7 +173,11 @@ static int renderThread(void * unused)
|
||||
g_state.ds->waitFrame();
|
||||
if (!lgResetEvent(g_state.frameEvent) && !g_state.overlayInput &&
|
||||
!g_state.lgr->needs_render(g_state.lgrData))
|
||||
{
|
||||
if (g_state.ds->skipFrame)
|
||||
g_state.ds->skipFrame();
|
||||
continue;
|
||||
}
|
||||
}
|
||||
else if (g_params.fpsMin != 0)
|
||||
{
|
||||
|
Reference in New Issue
Block a user