diff options
author | Simon Ser <contact@emersion.fr> | 2020-12-19 16:16:07 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-06-07 15:42:38 +0200 |
commit | 5f8092b04521eb834fb973ae92294a638c737276 (patch) | |
tree | 4630fd0ffe8ff08b0edd572a9cbd9233d14adc42 /backend | |
parent | a670ee7940342333abd91b351e42992bba6d635e (diff) |
backend/wayland: implement get_dmabuf_primary_formats
Diffstat (limited to 'backend')
-rw-r--r-- | backend/wayland/output.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/backend/wayland/output.c b/backend/wayland/output.c index 62e9b5af..f4b40698 100644 --- a/backend/wayland/output.c +++ b/backend/wayland/output.c @@ -439,7 +439,7 @@ static bool output_set_cursor(struct wlr_output *wlr_output, return true; } -static const struct wlr_drm_format_set *output_get_cursor_formats( +static const struct wlr_drm_format_set *output_get_formats( struct wlr_output *wlr_output, uint32_t buffer_caps) { struct wlr_wl_output *output = get_wl_output_from_output(wlr_output); if (buffer_caps & WLR_BUFFER_CAP_DMABUF) { @@ -508,7 +508,8 @@ static const struct wlr_output_impl output_impl = { .rollback_render = output_rollback_render, .set_cursor = output_set_cursor, .move_cursor = output_move_cursor, - .get_cursor_formats = output_get_cursor_formats, + .get_cursor_formats = output_get_formats, + .get_primary_formats = output_get_formats, }; bool wlr_output_is_wl(struct wlr_output *wlr_output) { |