Examples: SDL2+Vulkan: Fixed application shutdown which could deadlock on Linux + Xorg. (#2181)

This commit is contained in:
omar
2018-11-21 18:43:25 +01:00
parent a5cf227503
commit c00a3bd98f
2 changed files with 3 additions and 1 deletions

View File

@ -480,8 +480,9 @@ int main(int, char**)
ImGui_ImplVulkan_Shutdown();
ImGui_ImplSDL2_Shutdown();
ImGui::DestroyContext();
SDL_DestroyWindow(window);
CleanupVulkan();
SDL_DestroyWindow(window);
SDL_Quit();
return 0;