diff options
Diffstat (limited to 'options')
-rw-r--r-- | options/options.c | 5 | ||||
-rw-r--r-- | options/options.h | 2 |
2 files changed, 7 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 diff --git a/options/options.h b/options/options.h index 842781cb4b..d668832fea 100644 --- a/options/options.h +++ b/options/options.h @@ -319,6 +319,8 @@ typedef struct MPOpts { char *ipc_path; char *input_file; + int wingl_dwm_flush; + struct gl_video_opts *gl_video_opts; struct angle_opts *angle_opts; struct dvd_opts *dvd_opts; |