summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorMichael Lutz <michi@icosahedron.de>2021-01-07 22:09:43 +0100
committerMichael Lutz <michi@icosahedron.de>2021-02-14 11:50:18 +0100
commite5c325364285b1e6e93afa2a0a79b1ec437f238e (patch)
tree8e2b58ad6cb1ff9b6bff8bb8f69308d72ff5d5b2 /src/table
parent0fc763bc5597e04ee528a34ca2730f780d25fb5e (diff)
downloadopenttd-e5c325364285b1e6e93afa2a0a79b1ec437f238e.tar.xz
Add: [OSX] Setting to disable HiDPI graphics rendering.
Diffstat (limited to 'src/table')
-rw-r--r--src/table/misc_settings.ini10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/table/misc_settings.ini b/src/table/misc_settings.ini
index d46ebe9bb..edc779caf 100644
--- a/src/table/misc_settings.ini
+++ b/src/table/misc_settings.ini
@@ -9,6 +9,10 @@ extern std::string _config_language_file;
static const char *_support8bppmodes = "no|system|hardware";
+#ifdef WITH_COCOA
+extern bool _allow_hidpi_window;
+#endif
+
static const SettingDescGlobVarList _misc_settings[] = {
[post-amble]
};
@@ -317,5 +321,11 @@ min = ZOOM_LVL_MIN
max = ZOOM_LVL_OUT_4X
cat = SC_BASIC
+[SDTG_BOOL]
+ifdef = WITH_COCOA
+name = ""allow_hidpi""
+var = _allow_hidpi_window
+def = true
+
[SDTG_END]