mirror of
https://github.com/Drezil/imgui.git
synced 2024-11-15 01:17:00 +00:00
Backends: Vulkan: ImGui_ImplVulkan_CreateFontsTexture() calls vkQueueWaitIdle() instead of vkDeviceWaitIdle(). (#7148, #6943, #6715, #6327, #3743, #4618)
This commit is contained in:
parent
3cb805489b
commit
33d426842d
@ -784,7 +784,7 @@ bool ImGui_ImplVulkan_CreateFontsTexture()
|
|||||||
err = vkQueueSubmit(v->Queue, 1, &end_info, VK_NULL_HANDLE);
|
err = vkQueueSubmit(v->Queue, 1, &end_info, VK_NULL_HANDLE);
|
||||||
check_vk_result(err);
|
check_vk_result(err);
|
||||||
|
|
||||||
err = vkDeviceWaitIdle(v->Device);
|
err = vkQueueWaitIdle(v->Queue);
|
||||||
check_vk_result(err);
|
check_vk_result(err);
|
||||||
|
|
||||||
vkDestroyBuffer(v->Device, upload_buffer, v->Allocator);
|
vkDestroyBuffer(v->Device, upload_buffer, v->Allocator);
|
||||||
|
Loading…
Reference in New Issue
Block a user