mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-23 20:25:58 +01:00
ye test
This commit is contained in:
parent
9fc57fc321
commit
00a8171643
1 changed files with 3 additions and 0 deletions
|
@ -1102,6 +1102,9 @@ bool CHyprRenderer::attemptDirectScanout(CMonitor* pMonitor) {
|
|||
|
||||
pMonitor->output->state->setBuffer(PSURFACE->current.buffer);
|
||||
|
||||
if (!pMonitor->state.test())
|
||||
return false;
|
||||
|
||||
timespec now;
|
||||
clock_gettime(CLOCK_MONOTONIC, &now);
|
||||
PSURFACE->frame(&now);
|
||||
|
|
Loading…
Reference in a new issue