mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-15 08:56:26 -05:00
Refactor wlr_egl_init to accept config_attribs
This commit is contained in:
parent
bc5bdb7793
commit
b99d1f4fcc
6 changed files with 36 additions and 106 deletions
|
|
@ -185,7 +185,7 @@ struct wlr_backend *wlr_wl_backend_create(struct wl_display *display) {
|
|||
}
|
||||
|
||||
wlr_egl_init(&backend->egl, EGL_PLATFORM_WAYLAND_EXT,
|
||||
WL_SHM_FORMAT_ARGB8888, backend->remote_display);
|
||||
backend->remote_display, NULL, WL_SHM_FORMAT_ARGB8888);
|
||||
wlr_egl_bind_display(&backend->egl, backend->local_display);
|
||||
|
||||
backend->local_display_destroy.notify = handle_display_destroy;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue