diff options
author | emersion <contact@emersion.fr> | 2018-05-22 23:07:15 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-05-29 18:47:17 +0100 |
commit | bd430b8620f5dec485e49269d6add8dc3c20a8ab (patch) | |
tree | 5ad0661e9b7e89848734f0703df8dd2ed8f375cb /backend/drm/drm.c | |
parent | 36bd4795d4fe2282dfcc59f26863bac2896a4a3f (diff) |
backend/drm: support multi-planar DMA-BUFs when exporting
Diffstat (limited to 'backend/drm/drm.c')
-rw-r--r-- | backend/drm/drm.c | 3 |
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) { |