diff options
Diffstat (limited to 'backend')
-rw-r--r-- | backend/drm/renderer.c | 2 | ||||
-rw-r--r-- | backend/headless/output.c | 2 | ||||
-rw-r--r-- | backend/wayland/output.c | 2 | ||||
-rw-r--r-- | backend/x11/output.c | 2 |
4 files changed, 7 insertions, 1 deletions
diff --git a/backend/drm/renderer.c b/backend/drm/renderer.c index addcf441..ad823398 100644 --- a/backend/drm/renderer.c +++ b/backend/drm/renderer.c @@ -114,7 +114,7 @@ bool drm_surface_make_current(struct wlr_drm_surface *surf, } if (!wlr_renderer_bind_buffer(surf->renderer->wlr_rend, surf->back_buffer)) { - wlr_log(WLR_ERROR, "Failed to attach buffer to renderer"); + wlr_log(WLR_ERROR, "Failed to bind buffer to renderer"); return false; } diff --git a/backend/headless/output.c b/backend/headless/output.c index abd1ac45..578876ea 100644 --- a/backend/headless/output.c +++ b/backend/headless/output.c @@ -46,11 +46,13 @@ 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(output->backend->renderer, output->back_buffer)) { + wlr_log(WLR_ERROR, "Failed to bind buffer to renderer"); return false; } diff --git a/backend/wayland/output.c b/backend/wayland/output.c index c4107b87..d5410e0d 100644 --- a/backend/wayland/output.c +++ b/backend/wayland/output.c @@ -119,11 +119,13 @@ 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(output->backend->renderer, output->back_buffer)) { + wlr_log(WLR_ERROR, "Failed to bind buffer to renderer"); return false; } 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; } |