diff options
Diffstat (limited to 'vcl/osx/salgdiutils.cxx')
-rw-r--r-- | vcl/osx/salgdiutils.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/osx/salgdiutils.cxx b/vcl/osx/salgdiutils.cxx index da1d3ab2138a..7b088864d111 100644 --- a/vcl/osx/salgdiutils.cxx +++ b/vcl/osx/salgdiutils.cxx @@ -64,6 +64,11 @@ float getWindowScaling() } bWindowScaling = true; } + if( const char* env = getenv("SAL_FORCE_HIDPI_SCALING")) + { + fWindowScale = atof(env); + bWindowScaling = true; + } } return fWindowScale; } |