From 07d75c99dba871db1ab28e70840ab55010c3314c Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 4 Jan 2021 11:16:57 +0100 Subject: render: remove EGL config and visual from wlr_renderer_autocreate This isn't used anymore by any backend. Some examples still provide an EGL config to wlr_egl_init, so we can't drop it yet there. --- backend/drm/renderer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend/drm') 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; -- cgit v1.2.3