diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-05-30 08:39:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-30 08:39:45 -0400 |
commit | 5d8e38702175fcc7cb991effeadca1f5a9308e6d (patch) | |
tree | 9cbc288ea690b5a038ac0ad7cf198c04d992c89f /render/wlr_renderer.c | |
parent | 8c9d0f15ce416029256ebb437c99b93f34edba18 (diff) | |
parent | 28020ff57728d07ae0715fc15696b8fe40337b3d (diff) |
Merge pull request #1015 from emersion/dmabuf-single-modifier
Only allow one modifier per DMA-BUF, split attributes struct in render/
Diffstat (limited to 'render/wlr_renderer.c')
-rw-r--r-- | render/wlr_renderer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/render/wlr_renderer.c b/render/wlr_renderer.c index aed821c9..32b0a779 100644 --- a/render/wlr_renderer.c +++ b/render/wlr_renderer.c @@ -136,11 +136,11 @@ int wlr_renderer_get_dmabuf_modifiers(struct wlr_renderer *r, int format, } bool wlr_renderer_check_import_dmabuf(struct wlr_renderer *r, - struct wlr_dmabuf_buffer *dmabuf) { + struct wlr_dmabuf_attributes *attribs) { if (!r->impl->check_import_dmabuf) { return false; } - return r->impl->check_import_dmabuf(r, dmabuf); + return r->impl->check_import_dmabuf(r, attribs); } bool wlr_renderer_read_pixels(struct wlr_renderer *r, enum wl_shm_format fmt, |