aboutsummaryrefslogtreecommitdiff
path: root/include/render
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-11-04 17:20:41 +0100
committerSimon Ser <contact@emersion.fr>2022-11-11 19:18:04 +0000
commit7fdcb45e6609be4786bcb79e61d7e935b7b7fa77 (patch)
tree1c48cb4c2beb27a7fb0aa3a7e837124b5c04697c /include/render
parentf1eae0eeebcae0eed8754f6c6db0a14cf8ad401f (diff)
render/vulkan: use command buffer pool for stage
Diffstat (limited to 'include/render')
-rw-r--r--include/render/vulkan.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/render/vulkan.h b/include/render/vulkan.h
index d0a2ad85..517dc451 100644
--- a/include/render/vulkan.h
+++ b/include/render/vulkan.h
@@ -194,8 +194,7 @@ struct wlr_vk_renderer {
struct wlr_vk_command_buffer command_buffers[VULKAN_COMMAND_BUFFERS_CAP];
struct {
- VkCommandBuffer cb;
- bool recording;
+ struct wlr_vk_command_buffer *cb;
struct wl_list buffers; // wlr_vk_shared_buffer.link
} stage;