mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +00:00
[client] fix usage of uninitialized time variable
This commit is contained in:
@@ -162,6 +162,8 @@ static int renderThread(void * unused)
|
|||||||
lgSignalEvent(e_startup);
|
lgSignalEvent(e_startup);
|
||||||
|
|
||||||
struct timespec time;
|
struct timespec time;
|
||||||
|
clock_gettime(CLOCK_MONOTONIC, &time);
|
||||||
|
|
||||||
while(state.state != APP_STATE_SHUTDOWN)
|
while(state.state != APP_STATE_SHUTDOWN)
|
||||||
{
|
{
|
||||||
if (state.frameTime > 0)
|
if (state.frameTime > 0)
|
||||||
|
Reference in New Issue
Block a user