aboutsummaryrefslogtreecommitdiff
path: root/render/egl.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-12-08 00:59:37 +0100
committeremersion <contact@emersion.fr>2017-12-08 00:59:37 +0100
commit18eb1eee3f97e169ff5fca67625452cbd81627c5 (patch)
tree831ef5d92c1e781ad2d1af9870a0076c6a74e27d /render/egl.c
parent9d43adaafa6bbe63116b3feba796844169f91b25 (diff)
Listen to display destroy in xwayland, rename wlr_egl_free
Diffstat (limited to 'render/egl.c')
-rw-r--r--render/egl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/egl.c b/render/egl.c
index 22d58df2..e895df8d 100644
--- a/render/egl.c
+++ b/render/egl.c
@@ -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);