chore: add mem leaks checks
This commit is contained in:
10
src/main.cpp
10
src/main.cpp
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user