diff --git a/client/src/main.c b/client/src/main.c index 8a419178..e90709e4 100644 --- a/client/src/main.c +++ b/client/src/main.c @@ -2046,6 +2046,8 @@ static int lg_run(void) return -1; } + lgInit(); + // start the renderThread so we don't just display junk if (!lgCreateThread("renderThread", renderThread, NULL, &t_render)) { @@ -2088,8 +2090,6 @@ static int lg_run(void) KVMFR *udata; int waitCount = 0; - lgInit(); - restart: while(g_state.state == APP_STATE_RUNNING) {