summaryrefslogtreecommitdiff
path: root/src/constants.h
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 /src/constants.h
parent5cc06e4748a82acb36310fee89e72f30b2b35a36 (diff)
downloadminetest-40df3931d882daaeee42c8de69882b9f9df5c312.tar.gz
minetest-40df3931d882daaeee42c8de69882b9f9df5c312.tar.bz2
minetest-40df3931d882daaeee42c8de69882b9f9df5c312.zip
Implement DPI scaling for Windows (#9586)
Diffstat (limited to 'src/constants.h')
-rw-r--r--src/constants.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/constants.h b/src/constants.h
index 7636b38e0..0a8b22e15 100644
--- a/src/constants.h
+++ b/src/constants.h
@@ -110,10 +110,5 @@ with this program; if not, write to the Free Software Foundation, Inc.,
GUI related things
*/
-// TODO: implement dpi-based scaling for windows and remove this hack
-#if defined(_WIN32)
-#define TTF_DEFAULT_FONT_SIZE (18)
-#else
#define TTF_DEFAULT_FONT_SIZE (16)
-#endif
#define DEFAULT_FONT_SIZE (10)