diff options
author | Dudemanguy <random342@airmail.cc> | 2023-09-19 17:26:21 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-09-22 14:20:38 +0000 |
commit | 73ad9eef2875247d38af99f4d8c804f2749a8588 (patch) | |
tree | d03d912b0ae85cbf99de2f893634e5f74a191aff /options/options.c | |
parent | 58ac0dd6db87c6cdabff79f1cfba575f15f3328d (diff) | |
download | mpv-73ad9eef2875247d38af99f4d8c804f2749a8588.tar.bz2 mpv-73ad9eef2875247d38af99f4d8c804f2749a8588.tar.xz |
opengl/context_win: move opengl-dwmflush to wingl_opts group
Gets rid of yet another mp_read_option_raw call.
Diffstat (limited to 'options/options.c')
-rw-r--r-- | options/options.c | 4 |
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 |