aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
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) {