diff options
author | Simon Zeni <simon@bl4ckb0ne.ca> | 2021-11-15 13:28:43 -0500 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2021-11-18 09:37:57 -0500 |
commit | 42549a1c9a43ed4ed313d84a5252a8e3fc34c55c (patch) | |
tree | 620b742c3e5bcf98438a851bf58c44d281155e0c /backend/drm | |
parent | a1430933392aabc25040cb22e6e4a0d6517b39b5 (diff) |
backend/drm: stop initializing backend renderer
Diffstat (limited to 'backend/drm')
-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; |