Add: [OSX] Setting to disable HiDPI graphics rendering.

This commit is contained in:
Michael Lutz
2021-01-07 22:09:43 +01:00
parent 0fc763bc55
commit e5c3253642
2 changed files with 14 additions and 2 deletions

View File

@@ -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]