aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-11-24 10:07:19 +0100
committerSimon Ser <contact@emersion.fr>2022-11-30 14:14:04 +0100
commitc99c60090cdc78f29c3f545e6f51b1b650486813 (patch)
tree22d8cc91f0036372fbe40f320e1a823295fcc19b /include/wlr
parent444d94ef89b74500610f36c89a31f668e35a0f03 (diff)
linux-dmabuf-v1: add version arg to create()
To be able to add support for newer versions without breaking changes.
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_linux_dmabuf_v1.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wlr/types/wlr_linux_dmabuf_v1.h b/include/wlr/types/wlr_linux_dmabuf_v1.h
index bfc024eb..07372fc8 100644
--- a/include/wlr/types/wlr_linux_dmabuf_v1.h
+++ b/include/wlr/types/wlr_linux_dmabuf_v1.h
@@ -77,7 +77,7 @@ struct wlr_linux_dmabuf_v1 {
* The default DMA-BUF feedback is initialized from the struct wlr_renderer.
*/
struct wlr_linux_dmabuf_v1 *wlr_linux_dmabuf_v1_create_with_renderer(struct wl_display *display,
- struct wlr_renderer *renderer);
+ uint32_t version, struct wlr_renderer *renderer);
/**
* Set a surface's DMA-BUF feedback.