aboutsummaryrefslogtreecommitdiff
path: root/backend/drm/drm.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/drm/drm.c')
-rw-r--r--backend/drm/drm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c
index 5b6054d3..d54c93f8 100644
--- a/backend/drm/drm.c
+++ b/backend/drm/drm.c
@@ -270,8 +270,7 @@ static bool drm_connector_export_dmabuf(struct wlr_output *output,
struct wlr_drm_plane *plane = crtc->primary;
struct wlr_drm_surface *surf = &plane->surf;
- export_drm_bo(surf->back, attribs);
- return true;
+ return export_drm_bo(surf->back, attribs);
}
static void drm_connector_start_renderer(struct wlr_drm_connector *conn) {