From e4efb6b6015adc8b4e5a35b3bb93efcdecb6798d Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Fri, 30 Sep 2022 15:50:54 +0200 Subject: render/vulkan: use addon for wlr_vk_texture Avoids having to walk the list of all textures. --- include/render/vulkan.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/render/vulkan.h b/include/render/vulkan.h index 1cbe00c1..7c179efe 100644 --- a/include/render/vulkan.h +++ b/include/render/vulkan.h @@ -246,7 +246,7 @@ struct wlr_vk_texture { // If imported from a wlr_buffer struct wlr_buffer *buffer; - struct wl_listener buffer_destroy; + struct wlr_addon buffer_addon; }; struct wlr_vk_texture *vulkan_get_texture(struct wlr_texture *wlr_texture); -- cgit v1.2.3