From b899a412e3eb7be76df495883de9aa2bdb3be06f Mon Sep 17 00:00:00 2001 From: Simon Zeni Date: Thu, 7 Jan 2021 00:10:10 -0500 Subject: backend: remove wlr_egl from all backends --- render/gles2/renderer.c | 1 + 1 file changed, 1 insertion(+) (limited to 'render/gles2') diff --git a/render/gles2/renderer.c b/render/gles2/renderer.c index 76114278..6ae5e843 100644 --- a/render/gles2/renderer.c +++ b/render/gles2/renderer.c @@ -674,6 +674,7 @@ static void gles2_destroy(struct wlr_renderer *wlr_renderer) { struct wlr_gles2_renderer *renderer = gles2_get_renderer(wlr_renderer); wlr_egl_make_current(renderer->egl, EGL_NO_SURFACE, NULL); + wlr_egl_finish(renderer->egl); struct wlr_gles2_buffer *buffer, *buffer_tmp; wl_list_for_each_safe(buffer, buffer_tmp, &renderer->buffers, link) { -- cgit v1.2.3