mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-15 06:59:43 -05:00
linux-dmabuf-v1: add version arg to create()
To be able to add support for newer versions without breaking changes.
This commit is contained in:
parent
444d94ef89
commit
c99c60090c
3 changed files with 7 additions and 6 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue