diff --git a/client/src/app.c b/client/src/app.c index 221bea49..6fca05fc 100644 --- a/client/src/app.c +++ b/client/src/app.c @@ -535,7 +535,7 @@ void app_invalidateWindow(bool full) if (full) atomic_store(&g_state.invalidateWindow, true); - if (g_state.jitRender && g_state.ds->stopWaitFrame) + if (g_state.dsInitialized && g_state.jitRender && g_state.ds->stopWaitFrame) g_state.ds->stopWaitFrame(); lgSignalEvent(g_state.frameEvent);