backend: destroy renderer when destroying backend

This commit is contained in:
emersion 2018-04-24 22:45:44 +01:00
parent 097561d6bf
commit cd9f25711c
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
3 changed files with 3 additions and 0 deletions

View file

@ -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) {