diff options
Diffstat (limited to 'backend/drm')
-rw-r--r-- | backend/drm/backend.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/backend/drm/backend.c b/backend/drm/backend.c index 52230592..9ae4dbf0 100644 --- a/backend/drm/backend.c +++ b/backend/drm/backend.c @@ -11,7 +11,6 @@ #include <wlr/interfaces/wlr_output.h> #include <wlr/util/log.h> #include <xf86drm.h> -#include "backend/backend.h" #include "backend/drm/drm.h" #include "util/signal.h" @@ -258,12 +257,6 @@ struct wlr_backend *wlr_drm_backend_create(struct wl_display *display, } } - struct wlr_renderer *renderer = wlr_backend_get_renderer(&drm->backend); - struct wlr_allocator *allocator = backend_get_allocator(&drm->backend); - if (renderer == NULL || allocator == NULL) { - goto error_mgpu_renderer; - } - drm->session_destroy.notify = handle_session_destroy; wl_signal_add(&session->events.destroy, &drm->session_destroy); |