aboutsummaryrefslogtreecommitdiff
path: root/render/wlr_renderer.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-05-29 22:38:00 +0100
committeremersion <contact@emersion.fr>2018-05-30 09:29:12 +0100
commit28020ff57728d07ae0715fc15696b8fe40337b3d (patch)
tree9cbc288ea690b5a038ac0ad7cf198c04d992c89f /render/wlr_renderer.c
parent8c9d0f15ce416029256ebb437c99b93f34edba18 (diff)
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.c4
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,