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