Skip to content

Commit

Permalink
Merge pull request #662 from smunaut/fix-vulkan-descriptorpool-release
Browse files Browse the repository at this point in the history
VulkanWindow: Releave descriptor pool after imgui cleanup
  • Loading branch information
azonenberg authored Dec 8, 2023
2 parents ff09487 + 29c94d9 commit c8226bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ngscopeclient/VulkanWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -277,11 +277,12 @@ VulkanWindow::~VulkanWindow()
m_swapchain = nullptr;
m_surface = nullptr;
glfwDestroyWindow(m_window);
m_imguiDescriptorPool = nullptr;

ImGui_ImplVulkan_Shutdown();
ImGui_ImplGlfw_Shutdown();
ImGui::DestroyContext(m_context);

m_imguiDescriptorPool = nullptr;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit c8226bc

Please sign in to comment.