aboutsummaryrefslogtreecommitdiff
path: root/render/egl.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-12-14 23:59:04 +0100
committeremersion <contact@emersion.fr>2017-12-14 23:59:04 +0100
commit6b42bfad18f7bcb08ef031c699159d40ff6ac2a0 (patch)
treec8c24d5cf48c8a7487499d37da92e1bf7da419b9 /render/egl.c
parentb884025558e750268a06818dc63bc46716c75843 (diff)
parent23fb663ea4eaff436d9bfab7f74cdd298fac44c5 (diff)
Merge branch 'master' into xwm-selection
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);