[client] main: alerts and overlay toggles should invalidate the window

This commit is contained in:
Geoffrey McRae
2021-08-01 18:04:43 +10:00
parent 17687fdea3
commit 2d74c93232
4 changed files with 19 additions and 10 deletions

View File

@@ -167,6 +167,7 @@ static int renderThread(void * unused)
while(g_state.state != APP_STATE_SHUTDOWN)
{
app_handleRenderEvent(microtime());
if (g_state.jitRender)
{
g_state.ds->waitFrame();
@@ -255,8 +256,6 @@ static int renderThread(void * unused)
}
g_state.resizeDone = true;
}
app_handleRenderEvent(now);
}
g_state.state = APP_STATE_SHUTDOWN;