aboutsummaryrefslogtreecommitdiff
path: root/backend/drm
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-12-17 23:51:04 +0100
committeremersion <contact@emersion.fr>2017-12-17 23:51:04 +0100
commitb99d1f4fcca0f8d7b1d2042f51fdefcc73304e6f (patch)
treefab66d90e45cff436d123eab2f4475ed4f5bb7bc /backend/drm
parentbc5bdb7793d7737a42489ddb07b2fbb7f74a47f5 (diff)
Refactor wlr_egl_init to accept config_attribs
Diffstat (limited to 'backend/drm')
-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;
}