Skip to content

Commit

Permalink
Backends: Vulkan: ImGui_ImplVulkan_CreateFontsTexture() calls vkQueue…
Browse files Browse the repository at this point in the history
…WaitIdle() instead of vkDeviceWaitIdle(). (#7148, #6943, #6715, #6327, #3743, #4618)
  • Loading branch information
ocornut committed Dec 19, 2023
1 parent 3cb8054 commit 33d4268
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backends/imgui_impl_vulkan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ bool ImGui_ImplVulkan_CreateFontsTexture()
err = vkQueueSubmit(v->Queue, 1, &end_info, VK_NULL_HANDLE);
check_vk_result(err);

err = vkDeviceWaitIdle(v->Device);
err = vkQueueWaitIdle(v->Queue);
check_vk_result(err);

vkDestroyBuffer(v->Device, upload_buffer, v->Allocator);
Expand Down

0 comments on commit 33d4268

Please sign in to comment.