diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -34,6 +34,10 @@ extern void enableMomentumScroll_MacOS(void); | |||
34 | extern void registerURLHandler_MacOS(void); | 34 | extern void registerURLHandler_MacOS(void); |
35 | #endif | 35 | #endif |
36 | 36 | ||
37 | #if defined (iPlatformMsys) | ||
38 | # include "win32.h" | ||
39 | #endif | ||
40 | |||
37 | int main(int argc, char **argv) { | 41 | int main(int argc, char **argv) { |
38 | #if defined (iPlatformApple) | 42 | #if defined (iPlatformApple) |
39 | enableMomentumScroll_MacOS(); | 43 | enableMomentumScroll_MacOS(); |
@@ -41,6 +45,7 @@ int main(int argc, char **argv) { | |||
41 | #endif | 45 | #endif |
42 | #if defined (iPlatformMsys) | 46 | #if defined (iPlatformMsys) |
43 | /* MSYS runtime takes care of WinMain. */ | 47 | /* MSYS runtime takes care of WinMain. */ |
48 | setDPIAware_Win32(); | ||
44 | SDL_SetMainReady(); | 49 | SDL_SetMainReady(); |
45 | #endif | 50 | #endif |
46 | init_Foundation(); | 51 | init_Foundation(); |