chore: add mem leaks checks

This commit is contained in:
2025-10-13 19:28:22 +02:00
parent 9124618ab6
commit 95275f9183

View File

@@ -1,6 +1,6 @@
/*#ifdef _MSC_VER
#pragma comment(linker, "/SUBSYSTEM:windows /ENTRY:mainCRTStartup")
#endif*/
// #ifdef _MSC_VER
// #pragma comment(linker, "/SUBSYSTEM:windows /ENTRY:mainCRTStartup")
// #endif
#define STB_IMAGE_IMPLEMENTATION
#include "../lib/stb_image.h"
@@ -18,5 +18,9 @@ int main()
engine.run();
engine.destroy();
// _CrtSetReportFile(_CRT_WARN, _CRTDBG_FILE_STDOUT);
// _CrtSetReportMode(_CRT_WARN, _CRTDBG_MODE_FILE);
// _CrtDumpMemoryLeaks();
return 0;
}