From b99d1f4fcca0f8d7b1d2042f51fdefcc73304e6f Mon Sep 17 00:00:00 2001 From: emersion Date: Sun, 17 Dec 2017 23:51:04 +0100 Subject: Refactor wlr_egl_init to accept config_attribs --- backend/drm/renderer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'backend/drm') 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; } -- cgit v1.2.3