mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-14 21:17:54 +00:00
[client] main: make use of new needs_render
call
This commit is contained in:
parent
f8e1ab8f31
commit
9d95154b85
1 changed files with 2 additions and 1 deletions
|
@ -171,7 +171,8 @@ static int renderThread(void * unused)
|
||||||
if (g_state.jitRender)
|
if (g_state.jitRender)
|
||||||
{
|
{
|
||||||
g_state.ds->waitFrame();
|
g_state.ds->waitFrame();
|
||||||
if (!lgResetEvent(g_state.frameEvent) && !g_state.overlayInput)
|
if (!lgResetEvent(g_state.frameEvent) && !g_state.overlayInput &&
|
||||||
|
!g_state.lgr->needs_render(g_state.lgrData))
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else if (g_params.fpsMin != 0)
|
else if (g_params.fpsMin != 0)
|
||||||
|
|
Loading…
Reference in a new issue