mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-10-26 22:21:38 +03:00
allow vrr with vfr=false
This commit is contained in:
parent
4c84d51a4c
commit
0c41f25486
@ -1457,7 +1457,7 @@ void CHyprRenderer::renderMonitor(CMonitor* pMonitor) {
|
||||
if (shouldTear)
|
||||
pMonitor->tearingState.busy = true;
|
||||
|
||||
if (*PDAMAGEBLINK || *PVFR == 0 || pMonitor->pendingFrame)
|
||||
if (*PDAMAGEBLINK || (*PVFR == 0 && !pMonitor->output->state->state().adaptiveSync) || pMonitor->pendingFrame)
|
||||
g_pCompositor->scheduleFrameForMonitor(pMonitor);
|
||||
|
||||
pMonitor->pendingFrame = false;
|
||||
|
Loading…
Reference in New Issue
Block a user