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, 1 insertions, 1 deletions
diff --git a/backend/drm/renderer.c b/backend/drm/renderer.c
index ebba3bb6..4c65afae 100644
--- a/backend/drm/renderer.c
+++ b/backend/drm/renderer.c
@@ -31,7 +31,7 @@ bool init_drm_renderer(struct wlr_drm_backend *drm,
}
renderer->wlr_rend = wlr_renderer_autocreate(&renderer->egl,
- EGL_PLATFORM_GBM_KHR, renderer->gbm, NULL, 0);
+ EGL_PLATFORM_GBM_KHR, renderer->gbm);
if (!renderer->wlr_rend) {
wlr_log(WLR_ERROR, "Failed to create EGL/WLR renderer");
goto error_gbm;