mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-07 19:05:58 +01:00
ee
This commit is contained in:
parent
cdef97ca2c
commit
db3259bfe4
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ void CFrameSchedulingManager::onPresent(CMonitor* pMonitor, wlr_output_event_pre
|
||||||
|
|
||||||
if (msUntilVblank > 0) {
|
if (msUntilVblank > 0) {
|
||||||
wl_event_source_timer_update(DATA->event, 0);
|
wl_event_source_timer_update(DATA->event, 0);
|
||||||
wl_event_source_timer_update(DATA->event, std::floor(msUntilVblank));
|
wl_event_source_timer_update(DATA->event, std::floor(msUntilVblank + 1));
|
||||||
}
|
}
|
||||||
|
|
||||||
Debug::log(LOG, "until vblank {:.2f}", msUntilVblank);
|
Debug::log(LOG, "until vblank {:.2f}", msUntilVblank);
|
||||||
|
|
Loading…
Reference in a new issue