diff options
| -rw-r--r-- | src/timestamp_pool.cc | 2 |
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; |
