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.
This commit is contained in:
Simon Ser 2021-01-04 11:16:57 +01:00
parent 01dcfb360e
commit 07d75c99db
6 changed files with 7 additions and 35 deletions

View file

@ -315,7 +315,7 @@ struct wlr_backend *wlr_wl_backend_create(struct wl_display *display,
wl_event_source_check(wl->remote_display_src);
wl->renderer = wlr_renderer_autocreate(&wl->egl, EGL_PLATFORM_WAYLAND_EXT,
wl->remote_display, NULL, 0);
wl->remote_display);
if (!wl->renderer) {
wlr_log(WLR_ERROR, "Could not create renderer");
goto error_event;