mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-22 07:02:28 +00:00
render: init wl_shm version 2
This commit is contained in:
parent
0028e0638f
commit
59138460c4
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user