diff options
-rw-r--r-- | backend/drm/backend.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/backend/drm/backend.c b/backend/drm/backend.c index cd5b8ee0..ca91be15 100644 --- a/backend/drm/backend.c +++ b/backend/drm/backend.c @@ -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; |