diff options
author | Simon Ser <contact@emersion.fr> | 2022-09-30 15:50:54 +0200 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2022-09-30 14:02:51 +0000 |
commit | e4efb6b6015adc8b4e5a35b3bb93efcdecb6798d (patch) | |
tree | a772007e3f169e6a025a7ed98277a5728b5f7702 /include/render | |
parent | 7899b97d20073d4bd59072b26a1ef940229ba382 (diff) |
render/vulkan: use addon for wlr_vk_texture
Avoids having to walk the list of all textures.
Diffstat (limited to 'include/render')
-rw-r--r-- | include/render/vulkan.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |