diff options
author | wm4 <wm4@nowhere> | 2017-01-20 14:02:17 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-01-20 14:03:34 +0100 |
commit | fd203ff16a97b97acf428f8ab53d8b31eb8fae99 (patch) | |
tree | af6bd1f5591c627d3f523a7787b5e251178df568 /options/options.c | |
parent | d890e0731c0a0c002c32e8be89130e178059d3ba (diff) | |
download | mpv-fd203ff16a97b97acf428f8ab53d8b31eb8fae99.tar.bz2 mpv-fd203ff16a97b97acf428f8ab53d8b31eb8fae99.tar.xz |
options: refacactor how --opengl-dwmflush is declared
Same deal as previous commit, except this time we just readd it as lone
global option, and read it directly.
Diffstat (limited to 'options/options.c')
-rw-r--r-- | options/options.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c index af13d1e434..cb2848e05b 100644 --- a/options/options.c +++ b/options/options.c @@ -697,6 +697,11 @@ const m_option_t mp_opts[] = { OPT_SUBSTRUCT("", angle_opts, angle_conf, 0), #endif +#if HAVE_GL_WIN32 + OPT_CHOICE("opengl-dwmflush", wingl_dwm_flush, 0, + ({"no", -1}, {"auto", 0}, {"windowed", 1}, {"yes", 2})), +#endif + #if HAVE_ENCODING OPT_SUBSTRUCT("", encode_opts, encode_config, 0), #endif |