From 3f95bc6b463f629c620ba5811ca3ce53ed9c03a2 Mon Sep 17 00:00:00 2001 From: fschildt Date: Tue, 25 Nov 2025 06:21:26 +0100 Subject: add MemoryManager, enhance cmake,compile.sh --- src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main.cpp') 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 #include #include @@ -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; -- cgit v1.2.3