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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/drm/renderer.c b/backend/drm/renderer.c
index 8a8d7d1f..00182c59 100644
--- a/backend/drm/renderer.c
+++ b/backend/drm/renderer.c
@@ -24,8 +24,8 @@ bool wlr_drm_renderer_init(struct wlr_drm_backend *drm,
return false;
}
- if (!wlr_egl_init(&renderer->egl, EGL_PLATFORM_GBM_MESA,
- GBM_FORMAT_ARGB8888, renderer->gbm)) {
+ if (!wlr_egl_init(&renderer->egl, EGL_PLATFORM_GBM_MESA, renderer->gbm,
+ NULL, GBM_FORMAT_ARGB8888)) {
goto error_gbm;
}