aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--types/wlr_output.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/types/wlr_output.c b/types/wlr_output.c
index 09ba4e68..0e21fcf2 100644
--- a/types/wlr_output.c
+++ b/types/wlr_output.c
@@ -737,6 +737,7 @@ bool wlr_output_commit(struct wlr_output *output) {
wlr_signal_emit_safe(&output->events.precommit, &pre_event);
if (!output->impl->commit(output)) {
+ output_clear_back_buffer(output);
output_state_clear(&output->pending);
return false;
}