mirror of
https://github.com/Kbz-8/42_vox.git
synced 2026-01-12 07:03:34 +00:00
fixing depth image issue
This commit is contained in:
@@ -96,12 +96,12 @@ namespace Scop
|
||||
void ImGuiRenderer::Destroy()
|
||||
{
|
||||
RenderCore::Get().WaitDeviceIdle();
|
||||
ImGui_ImplVulkan_Shutdown();
|
||||
ImGui_ImplSDL2_Shutdown();
|
||||
ImGui::DestroyContext();
|
||||
for(VkFramebuffer fb : m_framebuffers)
|
||||
kvfDestroyFramebuffer(RenderCore::Get().GetDevice(), fb);
|
||||
m_framebuffers.clear();
|
||||
ImGui_ImplVulkan_Shutdown();
|
||||
ImGui_ImplSDL2_Shutdown();
|
||||
ImGui::DestroyContext();
|
||||
kvfDestroyRenderPass(RenderCore::Get().GetDevice(), m_renderpass);
|
||||
RenderCore::Get().vkDestroyDescriptorPool(RenderCore::Get().GetDevice(), m_pool, nullptr);
|
||||
}
|
||||
@@ -116,7 +116,6 @@ namespace Scop
|
||||
|
||||
void ImGuiRenderer::DisplayRenderStatistics()
|
||||
{
|
||||
|
||||
static std::array<std::string, 5> gpu_types_string = {
|
||||
"Other",
|
||||
"Integrated",
|
||||
|
||||
Reference in New Issue
Block a user