From 44250caf505124eb1243924419266efb3a5a0146 Mon Sep 17 00:00:00 2001 From: Marcell Kiss Date: Tue, 18 Oct 2016 22:07:51 +0200 Subject: [PATCH] Null the released resources --- .../vulkan_example/imgui_impl_glfw_vulkan.cpp | 24 +++++++++++++++---- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/examples/vulkan_example/imgui_impl_glfw_vulkan.cpp b/examples/vulkan_example/imgui_impl_glfw_vulkan.cpp index 5ef2ec5f4..9469e7a87 100644 --- a/examples/vulkan_example/imgui_impl_glfw_vulkan.cpp +++ b/examples/vulkan_example/imgui_impl_glfw_vulkan.cpp @@ -798,31 +798,45 @@ void ImGui_ImplGlfwVulkan_InvalidateDeviceObjects() ImGui_ImplGlfwVulkan_InvalidateFontUploadObjects(); for (int i=0; i