Skip to content
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Commit 56ef360

Browse files
committed
backend/x11: stop initializing renderer and allocator during creation
1 parent 023610f commit 56ef360

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

backend/x11/backend.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -611,12 +611,6 @@ struct wlr_backend *wlr_x11_backend_create(struct wl_display *display,
611611
}
612612
}
613613

614-
struct wlr_renderer *renderer = wlr_backend_get_renderer(&x11->backend);
615-
struct wlr_allocator *allocator = backend_get_allocator(&x11->backend);
616-
if (renderer == NULL || allocator == NULL) {
617-
goto error_event;
618-
}
619-
620614
// Windows can only display buffers with the depth they were created with
621615
// TODO: look into changing the window's depth at runtime
622616
const struct wlr_drm_format *dri3_format =

0 commit comments

Comments
 (0)