aboutsummaryrefslogtreecommitdiff
path: root/rootston/desktop.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-04-08 11:21:21 -0400
committerGitHub <noreply@github.com>2018-04-08 11:21:21 -0400
commitbef5c1fd56a386745e76346ed2d9df5ba3baa40c (patch)
tree6df49a5ce9dc6c66a784e68ea1c3232035570437 /rootston/desktop.c
parent5f48c7fddd6a28b529eb02ca156db577b76edfb6 (diff)
parentd2ebbd103cda11b36fa44aa801128b2e477d465b (diff)
Merge pull request #850 from emersion/remove-backend-egl
backend: remove wlr_backend_get_egl
Diffstat (limited to 'rootston/desktop.c')
-rw-r--r--rootston/desktop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rootston/desktop.c b/rootston/desktop.c
index 4f5d3394..4edcb5e3 100644
--- a/rootston/desktop.c
+++ b/rootston/desktop.c
@@ -869,8 +869,8 @@ struct roots_desktop *desktop_create(struct roots_server *server,
wl_signal_add(&desktop->input_inhibit->events.deactivate,
&desktop->input_inhibit_deactivate);
- struct wlr_egl *egl = wlr_backend_get_egl(server->backend);
- desktop->linux_dmabuf = wlr_linux_dmabuf_create(server->wl_display, egl);
+ desktop->linux_dmabuf = wlr_linux_dmabuf_create(server->wl_display,
+ server->renderer);
return desktop;
}