aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index c830443..44b370b 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1,3 +1,4 @@
+#include "common/MemoryManager.hpp"
#include <common/defs.hpp>
#include <renderer/Renderer.hpp>
#include <games/Game.hpp>
@@ -39,7 +40,6 @@ DrawGameMenu()
}
ImGui::End();
-
return type;
}
@@ -197,6 +197,7 @@ main(int argc, char** argv)
SDL_GL_SwapWindow(window);
g_renderer.Reset();
+ MemoryManager::Clear_Frame();
}
return 0;