render: bind wl_drm in renderer

This commit is contained in:
emersion 2018-05-21 19:07:08 +01:00
parent 327aa7f49d
commit 41130fe54b
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
7 changed files with 24 additions and 12 deletions

View file

@ -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);