mangoapp: reuse shutdown() helper

Use the helper across the board, instead of open-coding it.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
pull/707/head
Emil Velikov 2 years ago committed by jackun
parent fc7a426d67
commit 40a1758518
No known key found for this signature in database
GPG Key ID: 119DB3F1D05A9ED3

@ -330,11 +330,8 @@ int main(int, char**)
}
// Cleanup
ImGui_ImplOpenGL3_Shutdown();
ImGui_ImplGlfw_Shutdown();
ImGui::DestroyContext();
shutdown(window);
glfwDestroyWindow(window);
glfwTerminate();
return 0;

Loading…
Cancel
Save