mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-03 09:01:40 -05:00
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:
parent
01dcfb360e
commit
07d75c99db
6 changed files with 7 additions and 35 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue