mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
Listen to display destroy in xwayland, rename wlr_egl_free
This commit is contained in:
parent
9d43adaafa
commit
18eb1eee3f
8 changed files with 26 additions and 10 deletions
|
|
@ -141,7 +141,7 @@ error:
|
|||
return false;
|
||||
}
|
||||
|
||||
void wlr_egl_free(struct wlr_egl *egl) {
|
||||
void wlr_egl_finish(struct wlr_egl *egl) {
|
||||
eglMakeCurrent(EGL_NO_DISPLAY, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
|
||||
if (egl->wl_display && eglUnbindWaylandDisplayWL) {
|
||||
eglUnbindWaylandDisplayWL(egl->display, egl->wl_display);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue