From 8ca2b4cf49055eabcd2499bf3811d356d769bded Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 21 Apr 2021 12:02:42 +0200 Subject: render/pixman: destroy textures on renderer teardown --- include/render/pixman.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/render') diff --git a/include/render/pixman.h b/include/render/pixman.h index f4cab45e..dd2d768b 100644 --- a/include/render/pixman.h +++ b/include/render/pixman.h @@ -17,6 +17,7 @@ struct wlr_pixman_renderer { struct wlr_renderer wlr_renderer; struct wl_list buffers; // wlr_pixman_buffer.link + struct wl_list textures; // wlr_pixman_texture.link struct wlr_pixman_buffer *current_buffer; int32_t width, height; @@ -37,6 +38,7 @@ struct wlr_pixman_buffer { struct wlr_pixman_texture { struct wlr_texture wlr_texture; struct wlr_pixman_renderer *renderer; + struct wl_list link; // wlr_pixman_renderer.textures void *data; pixman_image_t *image; -- cgit v1.2.3