aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorfschildt <florian.schildt@protonmail.com>2025-11-25 06:21:26 +0100
committerfschildt <florian.schildt@protonmail.com>2025-11-25 06:21:26 +0100
commit3f95bc6b463f629c620ba5811ca3ce53ed9c03a2 (patch)
tree8e2637270472b3ff787f95b24c9567d0c4d3df2b /src/main.cpp
parent746819470de51c4f7331b64980f3da9bfb750a12 (diff)
add MemoryManager, enhance cmake,compile.sh
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;