mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-15 08:56:26 -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
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue