diff options
Diffstat (limited to 'backend/headless')
-rw-r--r-- | backend/headless/backend.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/backend/headless/backend.c b/backend/headless/backend.c index 51217f8b..49c2c8ba 100644 --- a/backend/headless/backend.c +++ b/backend/headless/backend.c @@ -9,10 +9,8 @@ #include <wlr/render/wlr_renderer.h> #include <wlr/util/log.h> #include <xf86drm.h> -#include "backend/backend.h" #include "backend/headless.h" #include "render/drm_format_set.h" -#include "render/wlr_renderer.h" #include "util/signal.h" struct wlr_headless_backend *headless_backend_from_backend( @@ -137,11 +135,6 @@ static bool backend_init(struct wlr_headless_backend *backend, wl_signal_add(&renderer->events.destroy, &backend->parent_renderer_destroy); } - if (backend_get_allocator(&backend->backend) == NULL) { - wlr_log(WLR_ERROR, "Failed to create allocator"); - return false; - } - backend->display_destroy.notify = handle_display_destroy; wl_display_add_destroy_listener(display, &backend->display_destroy); |