mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 12:14:16 +00:00
[client] x11: reduce the scope of deltats
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user