mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
render/vulkan: use addon for wlr_vk_texture
Avoids having to walk the list of all textures.
This commit is contained in:
parent
7899b97d20
commit
e4efb6b601
2 changed files with 22 additions and 16 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue