mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-25 14:57:20 +00:00
[client] x11: reduce the scope of deltats
This commit is contained in:
parent
25ed3632f7
commit
ab3738624f
@ -1358,11 +1358,10 @@ static bool x11WaitFrame(void)
|
||||
static uint64_t lastmsc = 0;
|
||||
static uint64_t delay = 0;
|
||||
|
||||
uint64_t deltats = 0;
|
||||
uint64_t deltamsc = 0;
|
||||
if (lastts)
|
||||
{
|
||||
deltats = ust - lastts;
|
||||
uint64_t deltats = ust - lastts;
|
||||
deltamsc = msc - lastmsc;
|
||||
|
||||
if (calibrate == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user