aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-05-21 19:07:08 +0100
committeremersion <contact@emersion.fr>2018-05-21 19:07:08 +0100
commit41130fe54bfed6c3a5171bbc225143c32cbefc70 (patch)
tree1132d5a807ece464f4ae8375410873a7fa3928a2 /backend
parent327aa7f49d14d22aacf987625fef65b80496eddb (diff)
render: bind wl_drm in renderer
Diffstat (limited to 'backend')
-rw-r--r--backend/drm/backend.c4
-rw-r--r--backend/wayland/backend.c1
2 files changed, 0 insertions, 5 deletions
diff --git a/backend/drm/backend.c b/backend/drm/backend.c
index c14b99e3..f0306ee3 100644
--- a/backend/drm/backend.c
+++ b/backend/drm/backend.c
@@ -166,10 +166,6 @@ struct wlr_backend *wlr_drm_backend_create(struct wl_display *display,
goto error_event;
}
- if (!wlr_egl_bind_display(&drm->renderer.egl, display)) {
- wlr_log(L_INFO, "Failed to bind egl/wl display");
- }
-
drm->display_destroy.notify = handle_display_destroy;
wl_display_add_destroy_listener(display, &drm->display_destroy);
diff --git a/backend/wayland/backend.c b/backend/wayland/backend.c
index dc50cf23..bac0ab73 100644
--- a/backend/wayland/backend.c
+++ b/backend/wayland/backend.c
@@ -177,7 +177,6 @@ struct wlr_backend *wlr_wl_backend_create(struct wl_display *display,
wlr_log(L_ERROR, "Could not initialize EGL");
goto error_egl;
}
- wlr_egl_bind_display(&backend->egl, backend->local_display);
backend->renderer = wlr_gles2_renderer_create(&backend->egl);
if (backend->renderer == NULL) {