summaryrefslogtreecommitdiffstats
path: root/options/options.c
diff options
context:
space:
mode:
Diffstat (limited to 'options/options.c')
-rw-r--r--options/options.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/options/options.c b/options/options.c
index 523f172298..d91a72c3a3 100644
--- a/options/options.c
+++ b/options/options.c
@@ -95,6 +95,7 @@ extern const struct m_sub_options d3d11va_conf;
extern const struct m_sub_options angle_conf;
extern const struct m_sub_options macos_conf;
extern const struct m_sub_options wayland_conf;
+extern const struct m_sub_options wingl_conf;
extern const struct m_sub_options vaapi_conf;
static const struct m_sub_options screenshot_conf = {
@@ -840,8 +841,7 @@ static const m_option_t mp_opts[] = {
#endif
#if HAVE_GL_WIN32
- {"opengl-dwmflush", OPT_CHOICE(wingl_dwm_flush,
- {"no", -1}, {"auto", 0}, {"windowed", 1}, {"yes", 2})},
+ {"", OPT_SUBSTRUCT(wingl_opts, wingl_conf)},
#endif
#if HAVE_CUDA_HWACCEL