diff options
author | glx <glx@openttd.org> | 2019-01-25 03:43:24 +0100 |
---|---|---|
committer | glx22 <glx22@users.noreply.github.com> | 2019-01-25 16:59:41 +0100 |
commit | 255fa6e1a8586de75b33b9598467d47344ed6c5e (patch) | |
tree | 50262f51a42f4abe6b5c76d7b45572d59eb51f6f /src | |
parent | 4158c077cd9bba88096c3bf5b8727805f7e29369 (diff) | |
download | openttd-255fa6e1a8586de75b33b9598467d47344ed6c5e.tar.xz |
Fix: enable DPI-awareness for MINGW builds
Diffstat (limited to 'src')
-rw-r--r-- | src/os/windows/ottdres.rc.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/os/windows/ottdres.rc.in b/src/os/windows/ottdres.rc.in index 616d8bb3e..ad51be76c 100644 --- a/src/os/windows/ottdres.rc.in +++ b/src/os/windows/ottdres.rc.in @@ -14,7 +14,7 @@ #define APSTUDIO_HIDDEN_SYMBOLS #include "windows.h" #undef APSTUDIO_HIDDEN_SYMBOLS -#ifdef MSVC +#ifndef __MINGW32__ #include "winres.h" #else #define IDC_STATIC (-1) // all static controls @@ -117,5 +117,9 @@ END #endif // !_MAC +#ifdef __MINGW32__ +1 24 "..\\..\\..\\projects\\dpi_aware.manifest" +#endif + #endif // Neutral (Default) resources ///////////////////////////////////////////////////////////////////////////// |