aboutsummaryrefslogtreecommitdiff
path: root/backend/x11
diff options
context:
space:
mode:
Diffstat (limited to 'backend/x11')
-rw-r--r--backend/x11/output.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/backend/x11/output.c b/backend/x11/output.c
index 73723fc4..ea60d80b 100644
--- a/backend/x11/output.c
+++ b/backend/x11/output.c
@@ -101,10 +101,12 @@ static bool output_attach_render(struct wlr_output *wlr_output,
wlr_buffer_unlock(output->back_buffer);
output->back_buffer = wlr_swapchain_acquire(output->swapchain, buffer_age);
if (!output->back_buffer) {
+ wlr_log(WLR_ERROR, "Failed to acquire swapchain buffer");
return false;
}
if (!wlr_renderer_bind_buffer(x11->renderer, output->back_buffer)) {
+ wlr_log(WLR_ERROR, "Failed to bind buffer to renderer");
return false;
}