Refactors 1

This commit is contained in:
2024-12-11 01:47:29 -05:00
parent 20e8081cab
commit f566b800fa
2 changed files with 4 additions and 3 deletions

View File

@@ -28,7 +28,7 @@ CPMAddPackage(
CPMAddPackage(
NAME ReWindow
URL https://git.redacted.cc/Redacted/ReWindow/archive/Prerelease-26.zip
URL https://git.redacted.cc/Redacted/ReWindow/archive/Prerelease-27.zip
)
CPMAddPackage(

View File

@@ -14,13 +14,14 @@ namespace CaveGame::ClientApp
CaveGameWindow::~CaveGameWindow() {
Logs::Info("Closing game window.");
DestroyWindow();
Logs::Info("Removing game objects.");
delete splash_ctx;
delete menu_ctx;
delete game_ctx;
delete wm;
Logs::Info("Closing game window.");
RWindow::~RWindow();
}
void CaveGameWindow::CreateContexts()