mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-10 08:38:20 +00:00
[client] main: make use of new needs_render
call
This commit is contained in:
parent
f8e1ab8f31
commit
9d95154b85
@ -171,7 +171,8 @@ static int renderThread(void * unused)
|
||||
if (g_state.jitRender)
|
||||
{
|
||||
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;
|
||||
}
|
||||
else if (g_params.fpsMin != 0)
|
||||
|
Loading…
Reference in New Issue
Block a user