summaryrefslogtreecommitdiff
path: root/misc/winresource.rc
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2020-04-11 20:03:59 +0200
committerGitHub <noreply@github.com>2020-04-11 20:03:59 +0200
commit40df3931d882daaeee42c8de69882b9f9df5c312 (patch)
treeac8b12c279a164ea619788192494f8ff63da2060 /misc/winresource.rc
parent5cc06e4748a82acb36310fee89e72f30b2b35a36 (diff)
downloadminetest-40df3931d882daaeee42c8de69882b9f9df5c312.tar.gz
minetest-40df3931d882daaeee42c8de69882b9f9df5c312.tar.bz2
minetest-40df3931d882daaeee42c8de69882b9f9df5c312.zip
Implement DPI scaling for Windows (#9586)
Diffstat (limited to 'misc/winresource.rc')
-rw-r--r--misc/winresource.rc6
1 files changed, 6 insertions, 0 deletions
diff --git a/misc/winresource.rc b/misc/winresource.rc
index e1e82581b..ffb493873 100644
--- a/misc/winresource.rc
+++ b/misc/winresource.rc
@@ -1,6 +1,8 @@
#include <windows.h>
+#include <winuser.h>
#include <commctrl.h>
#include <richedit.h>
+
#ifndef USE_CMAKE_CONFIG_H
#define USE_CMAKE_CONFIG_H
#endif
@@ -13,6 +15,10 @@
#define BUILDMODE "RUN_IN_PLACE=0"
#endif
+#ifdef __MINGW32__
+CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "minetest.exe.manifest"
+#endif
+
LANGUAGE 0, SUBLANG_NEUTRAL
130 ICON "minetest-icon.ico"