Skip to content

Commit 101f534

Browse files
committed
Fix BestPractive warning
1 parent d36fca0 commit 101f534

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backends/imgui_impl_vulkan.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2227,7 +2227,7 @@ void ImGui_ImplVulkanH_CreateOrResizeWindow(
22272227
VkCommandPoolCreateInfo pool_info = {};
22282228
pool_info.sType = VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO;
22292229
pool_info.queueFamilyIndex = queue_family;
2230-
pool_info.flags = VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT;
2230+
pool_info.flags = VK_COMMAND_POOL_CREATE_TRANSIENT_BIT;
22312231
VkResult err =
22322232
vkCreateCommandPool(device, &pool_info, allocator, &command_pool);
22332233
check_vk_result(err);

0 commit comments

Comments
 (0)