diff --git a/client/src/main.c b/client/src/main.c index 1ea396e6..edb884fc 100644 --- a/client/src/main.c +++ b/client/src/main.c @@ -192,6 +192,7 @@ static int renderThread(void * unused) return 1; } + app_initOverlays(); LGTimer * tickTimer; if (!lgCreateTimer(1000 / TICK_RATE, tickTimerFn, NULL, &tickTimer)) { @@ -202,8 +203,6 @@ static int renderThread(void * unused) LG_LOCK_INIT(g_state.lgrLock); - app_initOverlays(); - /* signal to other threads that the renderer is ready */ lgSignalEvent(e_startup);