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/drm | |
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/drm')
-rw-r--r-- | backend/drm/renderer.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |