mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-14 21:17:54 +00:00
[client] fix usage of uninitialized time variable
This commit is contained in:
parent
4f9544d61d
commit
c8f740c34e
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue