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