mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-04-08 00:14:00 +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:
parent
5cab8f45f2
commit
6b6bd67a9f
@ -953,6 +953,9 @@ void SigHandler(int signal)
|
||||
|
||||
int main(int argc, char * argv[])
|
||||
{
|
||||
#if defined(_DEBUG) && defined(_MSC_VER)
|
||||
_CrtSetReportMode(_CRT_ASSERT, _CRTDBG_MODE_DEBUG);
|
||||
#endif
|
||||
currentWidth = WINDOWW;
|
||||
currentHeight = WINDOWH;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user