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
|
// #ifdef _MSC_VER
|
||||||
#pragma comment(linker, "/SUBSYSTEM:windows /ENTRY:mainCRTStartup")
|
// #pragma comment(linker, "/SUBSYSTEM:windows /ENTRY:mainCRTStartup")
|
||||||
#endif*/
|
// #endif
|
||||||
|
|
||||||
#define STB_IMAGE_IMPLEMENTATION
|
#define STB_IMAGE_IMPLEMENTATION
|
||||||
#include "../lib/stb_image.h"
|
#include "../lib/stb_image.h"
|
||||||
@@ -18,5 +18,9 @@ int main()
|
|||||||
engine.run();
|
engine.run();
|
||||||
engine.destroy();
|
engine.destroy();
|
||||||
|
|
||||||
|
// _CrtSetReportFile(_CRT_WARN, _CRTDBG_FILE_STDOUT);
|
||||||
|
// _CrtSetReportMode(_CRT_WARN, _CRTDBG_MODE_FILE);
|
||||||
|
// _CrtDumpMemoryLeaks();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user