Skip to content

Commit

Permalink
Compile fix
Browse files Browse the repository at this point in the history
  • Loading branch information
resetius committed Jun 3, 2023
1 parent 4f80354 commit da31ac7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compute/vulkan/command_pool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ CommandPool::CommandPool(Device& dev, uint32_t family /* compute family*/)
{
VkCommandPoolCreateInfo cpInfo = {
.sType = VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO,
.flags = VK_COMMAND_POOL_CREATE_TRANSIENT_BIT,
.queueFamilyIndex = family,
.flags = VK_COMMAND_POOL_CREATE_TRANSIENT_BIT
};

if (vkCreateCommandPool(dev.dev(), &cpInfo, nullptr, &pool_) != VK_SUCCESS) {
Expand Down

0 comments on commit da31ac7

Please sign in to comment.