aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/timestamp_pool.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timestamp_pool.cc b/src/timestamp_pool.cc
index cfe2528..b52e8f8 100644
--- a/src/timestamp_pool.cc
+++ b/src/timestamp_pool.cc
@@ -122,7 +122,7 @@ TimestampPool::Handle::Handle(TimestampPool& timestamp_pool,
const auto cbbi = VkCommandBufferBeginInfo{
.sType = VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO,
- };
+ .flags = VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT};
const auto& device_context = this->timestamp_pool.queue_context.device;
const auto& vtable = device_context.vtable;