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/headless/backend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend/headless') diff --git a/backend/headless/backend.c b/backend/headless/backend.c index 6380b6a5..5e5cee6a 100644 --- a/backend/headless/backend.c +++ b/backend/headless/backend.c @@ -207,7 +207,7 @@ struct wlr_backend *wlr_headless_backend_create(struct wl_display *display) { } struct wlr_renderer *renderer = wlr_renderer_autocreate(&backend->priv_egl, - EGL_PLATFORM_GBM_KHR, gbm_alloc->gbm_device, NULL, 0); + EGL_PLATFORM_GBM_KHR, gbm_alloc->gbm_device); if (!renderer) { wlr_log(WLR_ERROR, "Failed to create renderer"); goto error_renderer; -- cgit v1.2.3