From 56ef3609b5dd72a4637d0e4a007fab9c04667fb0 Mon Sep 17 00:00:00 2001 From: Simon Zeni Date: Mon, 13 Sep 2021 16:30:15 -0400 Subject: [PATCH] backend/x11: stop initializing renderer and allocator during creation --- backend/x11/backend.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/backend/x11/backend.c b/backend/x11/backend.c index f55238cbe5..7f43ba1c8b 100644 --- a/backend/x11/backend.c +++ b/backend/x11/backend.c @@ -611,12 +611,6 @@ struct wlr_backend *wlr_x11_backend_create(struct wl_display *display, } } - struct wlr_renderer *renderer = wlr_backend_get_renderer(&x11->backend); - struct wlr_allocator *allocator = backend_get_allocator(&x11->backend); - if (renderer == NULL || allocator == NULL) { - goto error_event; - } - // Windows can only display buffers with the depth they were created with // TODO: look into changing the window's depth at runtime const struct wlr_drm_format *dri3_format =