diff options
author | Simon Ser <contact@emersion.fr> | 2021-01-04 11:16:57 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-01-06 12:05:51 +0100 |
commit | 07d75c99dba871db1ab28e70840ab55010c3314c (patch) | |
tree | cbfa5258fecfe87e411550d62a927c6cf08ae66a /backend/x11/backend.c | |
parent | 01dcfb360e31e61713071336ef1710e21e174330 (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/x11/backend.c')
-rw-r--r-- | backend/x11/backend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/x11/backend.c b/backend/x11/backend.c index 01b2e82f..c16191f8 100644 --- a/backend/x11/backend.c +++ b/backend/x11/backend.c @@ -536,7 +536,7 @@ struct wlr_backend *wlr_x11_backend_create(struct wl_display *display, x11->allocator = &gbm_alloc->base; x11->renderer = wlr_renderer_autocreate(&x11->egl, EGL_PLATFORM_GBM_KHR, - gbm_alloc->gbm_device, NULL, 0); + gbm_alloc->gbm_device); if (x11->renderer == NULL) { wlr_log(WLR_ERROR, "Failed to create renderer"); goto error_event; |