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
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue