backend/drm: stop initializing backend renderer

This commit is contained in:
Simon Zeni 2021-11-15 13:28:43 -05:00
parent a143093339
commit 42549a1c9a
1 changed files with 0 additions and 4 deletions

View File

@ -232,10 +232,6 @@ struct wlr_backend *wlr_drm_backend_create(struct wl_display *display,
}
if (drm->parent) {
// Ensure we use the same renderer as the parent backend
drm->backend.renderer = wlr_backend_get_renderer(&drm->parent->backend);
assert(drm->backend.renderer != NULL);
if (!init_drm_renderer(drm, &drm->mgpu_renderer)) {
wlr_log(WLR_ERROR, "Failed to initialize renderer");
goto error_resources;