Chase breaking changes in wlroots!3903

References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3903
This commit is contained in:
Simon Ser 2022-11-30 17:14:07 +01:00 committed by Kenny Levinsen
parent e1d457c824
commit 3bd657c726

View File

@ -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,