aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorSimon Zeni <simon@bl4ckb0ne.ca>2021-11-15 13:28:43 -0500
committerSimon Zeni <simon@bl4ckb0ne.ca>2021-11-18 09:37:57 -0500
commit42549a1c9a43ed4ed313d84a5252a8e3fc34c55c (patch)
tree620b742c3e5bcf98438a851bf58c44d281155e0c /backend
parenta1430933392aabc25040cb22e6e4a0d6517b39b5 (diff)
backend/drm: stop initializing backend renderer
Diffstat (limited to 'backend')
-rw-r--r--backend/drm/backend.c4
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;