From 3bd657c7260b949019361da3f87aa5a264721ba2 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 30 Nov 2022 17:14:07 +0100 Subject: [PATCH] Chase breaking changes in wlroots!3903 References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3903 --- sway/server.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sway/server.c b/sway/server.c index 9208a8385..2db069a25 100644 --- a/sway/server.c +++ b/sway/server.c @@ -91,8 +91,8 @@ bool server_init(struct sway_server *server) { if (wlr_renderer_get_dmabuf_texture_formats(server->renderer) != NULL) { wlr_drm_create(server->wl_display, server->renderer); - server->linux_dmabuf_v1 = - wlr_linux_dmabuf_v1_create(server->wl_display, server->renderer); + server->linux_dmabuf_v1 = wlr_linux_dmabuf_v1_create_with_renderer( + server->wl_display, 4, server->renderer); } server->allocator = wlr_allocator_autocreate(server->backend,