From c55f70c8b7222cfaa33fc9634250027a95c1b066 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 12 Jul 2021 17:30:45 +0200 Subject: backend/drm: stop initializing renderer for parent backend Unless we're dealing with a multi-GPU setup and the backend being initialized is secondary, we don't need a renderer nor an allocator. Stop initializing these. --- include/backend/drm/renderer.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/backend/drm/renderer.h') diff --git a/include/backend/drm/renderer.h b/include/backend/drm/renderer.h index 528f2189..f6b996c7 100644 --- a/include/backend/drm/renderer.h +++ b/include/backend/drm/renderer.h @@ -13,7 +13,6 @@ struct wlr_buffer; struct wlr_drm_renderer { struct wlr_drm_backend *backend; - struct gbm_device *gbm; struct wlr_renderer *wlr_rend; struct wlr_allocator *allocator; -- cgit v1.2.3