mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 05:27:20 +00:00
[client] main: don't start the overlay tick timer until init is done
This commit is contained in:
parent
123be552a4
commit
48735cd001
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user