backend/drm: support multi-planar DMA-BUFs when exporting

This commit is contained in:
emersion 2018-05-22 23:07:15 +01:00
parent 36bd4795d4
commit bd430b8620
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
3 changed files with 28 additions and 10 deletions

View file

@ -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) {