aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backend/drm/renderer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/drm/renderer.c b/backend/drm/renderer.c
index ec9975c5..d3b2c8b7 100644
--- a/backend/drm/renderer.c
+++ b/backend/drm/renderer.c
@@ -28,7 +28,7 @@ bool init_drm_renderer(struct wlr_drm_backend *drm,
return false;
}
- renderer->wlr_rend = wlr_renderer_autocreate(&drm->backend);
+ renderer->wlr_rend = wlr_renderer_autocreate_with_drm_fd(drm->fd);
if (!renderer->wlr_rend) {
wlr_log(WLR_ERROR, "Failed to create EGL/WLR renderer");
goto error_gbm;