From 13ac45a7d9431bda2cb5b2b38f6efc4a9fb6bb02 Mon Sep 17 00:00:00 2001 From: Maschell Date: Fri, 1 Mar 2024 09:59:39 +0100 Subject: [PATCH] Implement WUMS_DEINITIALIZE --- src/main.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 965652f..ce1fc60 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -76,3 +76,9 @@ WUMS_APPLICATION_ENDS() { Texture2DShader::destroyInstance(); deinitLogging(); } + +WUMS_DEINITIALIZE() { + delete gOverlayFrame; + delete gFontSystem; + MEMFreeToMappedMemory(gContextState); +} \ No newline at end of file