summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 247c4b40..464176e6 100644
--- a/src/main.c
+++ b/src/main.c
@@ -34,6 +34,10 @@ extern void enableMomentumScroll_MacOS(void);
34extern void registerURLHandler_MacOS(void); 34extern void registerURLHandler_MacOS(void);
35#endif 35#endif
36 36
37#if defined (iPlatformMsys)
38# include "win32.h"
39#endif
40
37int main(int argc, char **argv) { 41int 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();