VulkanHostDisplay: Fix imgui image textures not rendering

This commit is contained in:
Connor McLaughlin
2020-09-05 17:27:38 +10:00
parent ac6b9dc87f
commit 2c36750a0e
4 changed files with 44 additions and 53 deletions

View File

@ -466,7 +466,7 @@ bool VulkanHostDisplay::CreateImGuiContext()
return false;
}
ImGui_ImplVulkan_NewFrame();
ImGui_ImplVulkan_NewFrame(g_vulkan_context->GetCurrentDescriptorPool());
#endif
return true;
@ -532,7 +532,7 @@ bool VulkanHostDisplay::Render()
#ifdef WITH_IMGUI
if (ImGui::GetCurrentContext())
ImGui_ImplVulkan_NewFrame();
ImGui_ImplVulkan_NewFrame(g_vulkan_context->GetCurrentDescriptorPool());
#endif
return true;