mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-07-31 05:30:23 +02:00
extra debugging thing for visual studio
I think this prevents random "exited with code 3" errors, but I can't remember ...
This commit is contained in:
@@ -953,6 +953,9 @@ void SigHandler(int signal)
|
|||||||
|
|
||||||
int main(int argc, char * argv[])
|
int main(int argc, char * argv[])
|
||||||
{
|
{
|
||||||
|
#if defined(_DEBUG) && defined(_MSC_VER)
|
||||||
|
_CrtSetReportMode(_CRT_ASSERT, _CRTDBG_MODE_DEBUG);
|
||||||
|
#endif
|
||||||
currentWidth = WINDOWW;
|
currentWidth = WINDOWW;
|
||||||
currentHeight = WINDOWH;
|
currentHeight = WINDOWH;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user