mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-16 08:56:26 -05:00
backend: destroy renderer when destroying backend
This commit is contained in:
parent
097561d6bf
commit
cd9f25711c
3 changed files with 3 additions and 0 deletions
|
|
@ -54,6 +54,7 @@ static void backend_destroy(struct wlr_backend *wlr_backend) {
|
|||
|
||||
wlr_signal_emit_safe(&wlr_backend->events.destroy, backend);
|
||||
|
||||
wlr_renderer_destroy(backend->renderer);
|
||||
wlr_egl_finish(&backend->egl);
|
||||
free(backend);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue