From 59138460c42fec26df2460c4df23eb287197f8c0 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sun, 7 Jul 2024 18:52:24 +0200 Subject: [PATCH] render: init wl_shm version 2 --- render/wlr_renderer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/render/wlr_renderer.c b/render/wlr_renderer.c index 590372eb..6a28908c 100644 --- a/render/wlr_renderer.c +++ b/render/wlr_renderer.c @@ -73,7 +73,7 @@ const struct wlr_drm_format_set *wlr_renderer_get_render_formats( bool wlr_renderer_init_wl_shm(struct wlr_renderer *r, struct wl_display *wl_display) { - return wlr_shm_create_with_renderer(wl_display, 1, r) != NULL; + return wlr_shm_create_with_renderer(wl_display, 2, r) != NULL; } bool wlr_renderer_init_wl_display(struct wlr_renderer *r,