diff options
Diffstat (limited to 'render/gles2')
-rw-r--r-- | render/gles2/renderer.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/render/gles2/renderer.c b/render/gles2/renderer.c index 2a78eb3e..5474e1b6 100644 --- a/render/gles2/renderer.c +++ b/render/gles2/renderer.c @@ -694,9 +694,7 @@ static void gles2_destroy(struct wlr_renderer *wlr_renderer) { } wlr_egl_unset_current(renderer->egl); - - wlr_egl_finish(renderer->egl); - free(renderer->egl); + wlr_egl_destroy(renderer->egl); if (renderer->drm_fd >= 0) { close(renderer->drm_fd); |