aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-11-23 16:08:25 +0100
committerSimon Zeni <simon@bl4ckb0ne.ca>2023-11-30 14:44:46 +0000
commit67c77fdbdcc34a227bd304797761b4c76b9ca6eb (patch)
tree953d12c94a9a285391bf6ad02c751903f426fcfd
parentf935ff0ef6e9ed95eb33fdc5dfec39d53a6d7134 (diff)
backend/drm: remove wlr_drm_renderer.backend
This is unused.
-rw-r--r--backend/drm/renderer.c2
-rw-r--r--include/backend/drm/renderer.h2
2 files changed, 0 insertions, 4 deletions
diff --git a/backend/drm/renderer.c b/backend/drm/renderer.c
index 374f071f..321d583c 100644
--- a/backend/drm/renderer.c
+++ b/backend/drm/renderer.c
@@ -13,8 +13,6 @@
bool init_drm_renderer(struct wlr_drm_backend *drm,
struct wlr_drm_renderer *renderer) {
- renderer->backend = drm;
-
renderer->wlr_rend = renderer_autocreate_with_drm_fd(drm->fd);
if (!renderer->wlr_rend) {
wlr_log(WLR_ERROR, "Failed to create renderer");
diff --git a/include/backend/drm/renderer.h b/include/backend/drm/renderer.h
index 0bd26572..f53f720b 100644
--- a/include/backend/drm/renderer.h
+++ b/include/backend/drm/renderer.h
@@ -13,8 +13,6 @@ struct wlr_drm_plane;
struct wlr_buffer;
struct wlr_drm_renderer {
- struct wlr_drm_backend *backend;
-
struct wlr_renderer *wlr_rend;
struct wlr_allocator *allocator;
};