mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-03 05:31:59 -07:00
core/compositor: Correctly track SHM buffer damage (#9678)
This commit is contained in:
@@ -1400,7 +1400,7 @@ bool CMonitor::attemptDirectScanout() {
|
||||
clock_gettime(CLOCK_MONOTONIC, &now);
|
||||
PSURFACE->presentFeedback(&now, self.lock());
|
||||
|
||||
output->state->addDamage(PSURFACE->accumulateCurrentBufferDamage());
|
||||
output->state->addDamage(PSURFACE->current.accumulateBufferDamage());
|
||||
output->state->resetExplicitFences();
|
||||
|
||||
auto cleanup = CScopeGuard([this]() { output->state->resetExplicitFences(); });
|
||||
|
Reference in New Issue
Block a user