mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-18 12:15:46 -04:00
VulkanHostDisplay: Fix imgui image textures not rendering
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user