[client] fix usage of uninitialized time variable

This commit is contained in:
Geoffrey McRae committed 2020-10-30 02:36:45 +11:00
1 parent 4f9544d61d
commit c8f740c34e
1 file changed
+2
+2
View File
@@ -162,6 +162,8 @@ static int renderThread(void * unused)
lgSignalEvent(e_startup);
struct timespec time;
clock_gettime(CLOCK_MONOTONIC, &time);
while(state.state != APP_STATE_SHUTDOWN)
{
if (state.frameTime > 0)