aboutsummaryrefslogtreecommitdiff
path: root/backend/x11
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-04-24 22:45:44 +0100
committeremersion <contact@emersion.fr>2018-04-25 23:53:43 +0100
commitcd9f25711cd2ce46a9af577b6426bab73c270fda (patch)
treee8f7da3ef7d82ef87fb368652bd0be0739a57ed7 /backend/x11
parent097561d6bf51f61356fb096a8a3c59c2ff1de3fe (diff)
backend: destroy renderer when destroying backend
Diffstat (limited to 'backend/x11')
-rw-r--r--backend/x11/backend.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/x11/backend.c b/backend/x11/backend.c
index b4b0f154..3a409155 100644
--- a/backend/x11/backend.c
+++ b/backend/x11/backend.c
@@ -239,6 +239,7 @@ static void wlr_x11_backend_destroy(struct wlr_backend *backend) {
}
wl_list_remove(&x11->display_destroy.link);
+ wlr_renderer_destroy(x11->renderer);
wlr_egl_finish(&x11->egl);
if (x11->cursor) {