mirror of
https://github.com/swaywm/sway.git
synced 2024-12-29 00:16:22 +01:00
Merge pull request #1838 from emersion/use-wlr-renderer-init-wl-shm
Use wlr_renderer_init_wl_shm
This commit is contained in:
commit
72149111a5
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ bool server_init(struct sway_server *server) {
|
||||||
struct wlr_renderer *renderer = wlr_backend_get_renderer(server->backend);
|
struct wlr_renderer *renderer = wlr_backend_get_renderer(server->backend);
|
||||||
assert(renderer);
|
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->compositor = wlr_compositor_create(server->wl_display, renderer);
|
||||||
server->data_device_manager =
|
server->data_device_manager =
|
||||||
|
|
Loading…
Reference in a new issue