summaryrefslogtreecommitdiffstats
path: root/options/options.h
diff options
context:
space:
mode:
authorAkemi <der.richter@gmx.de>2016-10-25 15:59:13 +0200
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2016-11-11 21:37:04 +0100
commitaceeeaf9bb7d3549c22557b8afe50838119f0b89 (patch)
tree612cf321968d79d0cae33c166bfe5626eb6a70c8 /options/options.h
parent98e7b4e538d42b6df1aa3c5f4a4c6c162a06b737 (diff)
downloadmpv-aceeeaf9bb7d3549c22557b8afe50838119f0b89.tar.bz2
mpv-aceeeaf9bb7d3549c22557b8afe50838119f0b89.tar.xz
cocoa: option to scale window by HiDPI scale factor
Deactivating this options makes it possible to circumvent the default OS X behavior of using points. Windows on HiDPI resolutions won't open in double the size anymore and videos are display in their native resolution when windowed. Fixes #3716
Diffstat (limited to 'options/options.h')
-rw-r--r--options/options.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/options/options.h b/options/options.h
index 160223d3e1..4ddf9d1490 100644
--- a/options/options.h
+++ b/options/options.h
@@ -38,6 +38,7 @@ typedef struct mp_vo_opts {
int keepaspect;
int keepaspect_window;
+ int hidpi_window_scale;
int64_t WinID;