mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-14 21:17:54 +00:00
[client] fix transposed tsDiff arguments
This commit is contained in:
parent
b13904ec59
commit
e02ccd7c6f
1 changed files with 1 additions and 1 deletions
|
@ -230,7 +230,7 @@ static int renderThread(void * unused)
|
|||
/* only resync the timer if we got an early frame */
|
||||
struct timespec now, diff;
|
||||
clock_gettime(CLOCK_REALTIME, &now);
|
||||
tsDiff(&diff, &now, &time);
|
||||
tsDiff(&diff, &time, &now);
|
||||
if (diff.tv_sec == 0 && diff.tv_nsec < state.frameTime)
|
||||
{
|
||||
resyncCheck = 0;
|
||||
|
|
Loading…
Reference in a new issue