render: init wl_shm version 2

This commit is contained in:
Simon Ser 2024-07-07 18:52:24 +02:00
parent 0028e0638f
commit 59138460c4

View File

@ -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, bool wlr_renderer_init_wl_shm(struct wlr_renderer *r,
struct wl_display *wl_display) { 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, bool wlr_renderer_init_wl_display(struct wlr_renderer *r,