mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-01-10 14:57:04 +00:00
[client] opengl: increase maximum mouse draw frequency
This commit is contained in:
parent
9c03327701
commit
c1379a45d2
@ -704,7 +704,7 @@ bool lgr_opengl_render(void * opaque)
|
|||||||
|
|
||||||
// don't update the mouse too fast
|
// don't update the mouse too fast
|
||||||
const uint64_t delta = nanotime() - this->lastMouseDraw;
|
const uint64_t delta = nanotime() - this->lastMouseDraw;
|
||||||
if (delta < 1e7)
|
if (delta < 5e6)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user