Closed OptimusPi closed 5 years ago
At the very least I believe the one on main.cpp line 7099 which uses WinMain instead of main on Windows should be unnecessary after upgrading to SDL2. https://wiki.libsdl.org/MigrationGuide
I was going to say.. upgrading to SDL2 might hopefully be able to fix this too! I don't like having 2 mains .
There is an OS-specific directive to tell the compiler which chunks of code to use.
This is a nasty hack because I don't know why it works or how exactly to fix it, although it shouldn't be too hard and probably will speed up the game performance anyway.
Look for the string: [#if MY_OS]
Examples: