Skip to content

Commit

Permalink
Merge pull request #392 from imaginationtech/allow_command_buffer_reset
Browse files Browse the repository at this point in the history
Enable command buffer reset on the command pool
  • Loading branch information
axsaucedo authored Aug 28, 2024
2 parents 485fa5a + 4ebaf3f commit 9d84c6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Sequence.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ Sequence::createCommandPool()

this->mFreeCommandPool = true;

vk::CommandPoolCreateInfo commandPoolInfo(vk::CommandPoolCreateFlags(),
vk::CommandPoolCreateInfo commandPoolInfo(vk::CommandPoolCreateFlagBits::eResetCommandBuffer,
this->mQueueIndex);
this->mCommandPool = std::make_shared<vk::CommandPool>();
this->mDevice->createCommandPool(
Expand Down

0 comments on commit 9d84c6f

Please sign in to comment.