mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
render/egl: remove SURFACELESS_MESA special case
Users can just pass EGL_DEFAULT_DISPLAY themselves.
This commit is contained in:
parent
3b35043d00
commit
2b04857343
2 changed files with 4 additions and 9 deletions
|
|
@ -113,7 +113,8 @@ struct wlr_backend *wlr_headless_backend_create(struct wl_display *display,
|
|||
}
|
||||
|
||||
backend->renderer = create_renderer_func(&backend->egl,
|
||||
EGL_PLATFORM_SURFACELESS_MESA, NULL, (EGLint*)config_attribs, 0);
|
||||
EGL_PLATFORM_SURFACELESS_MESA, EGL_DEFAULT_DISPLAY,
|
||||
(EGLint*)config_attribs, 0);
|
||||
if (!backend->renderer) {
|
||||
wlr_log(WLR_ERROR, "Failed to create renderer");
|
||||
free(backend);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue