Use wlr_renderer_init_wl_shm

This commit is contained in:
emersion 2018-04-21 14:08:48 +01:00
parent 7d43cedc95
commit b96d774c70
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48

View file

@ -51,7 +51,7 @@ bool server_init(struct sway_server *server) {
struct wlr_renderer *renderer = wlr_backend_get_renderer(server->backend);
assert(renderer);
wl_display_init_shm(server->wl_display);
wlr_renderer_init_wl_shm(renderer, server->wl_display);
server->compositor = wlr_compositor_create(server->wl_display, renderer);
server->data_device_manager =