render/vulkan: keep wlr_vk_shared_buffer mapped

This commit is contained in:
Simon Ser 2023-11-24 20:13:31 +01:00
parent 50b471e035
commit 79cbbfb366
3 changed files with 12 additions and 13 deletions

View file

@ -436,6 +436,7 @@ struct wlr_vk_shared_buffer {
VkBuffer buffer;
VkDeviceMemory memory;
VkDeviceSize buf_size;
void *map;
struct wl_array allocs; // struct wlr_vk_allocation
};