From c99c60090cdc78f29c3f545e6f51b1b650486813 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 24 Nov 2022 10:07:19 +0100 Subject: linux-dmabuf-v1: add version arg to create() To be able to add support for newer versions without breaking changes. --- include/wlr/types/wlr_linux_dmabuf_v1.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/wlr') 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. -- cgit v1.2.3