Remove create_renderer_func argument

It's removed upstream [1].

[1]: https://github.com/swaywm/wlroots/pull/2561
This commit is contained in:
Simon Ser 2020-12-19 11:39:06 +01:00
parent 92dc53b4f3
commit 53f5197c26

View file

@ -43,7 +43,7 @@ bool server_privileged_prepare(struct sway_server *server) {
sway_log(SWAY_DEBUG, "Preparing Wayland server initialization"); sway_log(SWAY_DEBUG, "Preparing Wayland server initialization");
server->wl_display = wl_display_create(); server->wl_display = wl_display_create();
server->wl_event_loop = wl_display_get_event_loop(server->wl_display); server->wl_event_loop = wl_display_get_event_loop(server->wl_display);
server->backend = wlr_backend_autocreate(server->wl_display, NULL); server->backend = wlr_backend_autocreate(server->wl_display);
if (!server->backend) { if (!server->backend) {
sway_log(SWAY_ERROR, "Unable to create backend"); sway_log(SWAY_ERROR, "Unable to create backend");