aboutsummaryrefslogtreecommitdiff
path: root/backend/drm/renderer.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/drm/renderer.c')
-rw-r--r--backend/drm/renderer.c2
1 files changed, 0 insertions, 2 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");