changed cleanup behaviour

This commit is contained in:
Lauchmelder 2021-12-26 14:52:29 +01:00
parent 7ba1abfca4
commit f2974f0fe6
3 changed files with 6 additions and 3 deletions

View file

@ -31,6 +31,9 @@ void Application::Quit()
{
delete topology;
lol::ShaderManager::GetInstance().Cleanup();
lol::ObjectManager<lol::Texture1D>::GetInstance().Cleanup();
glfwDestroyWindow(window);
window = nullptr;
}