aboutsummaryrefslogtreecommitdiff
path: root/backend/headless
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-01-04 11:16:57 +0100
committerSimon Ser <contact@emersion.fr>2021-01-06 12:05:51 +0100
commit07d75c99dba871db1ab28e70840ab55010c3314c (patch)
treecbfa5258fecfe87e411550d62a927c6cf08ae66a /backend/headless
parent01dcfb360e31e61713071336ef1710e21e174330 (diff)
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.
Diffstat (limited to 'backend/headless')
-rw-r--r--backend/headless/backend.c2
1 files changed, 1 insertions, 1 deletions
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;