diff options
Diffstat (limited to 'options')
-rw-r--r-- | options/options.c | 4 | ||||
-rw-r--r-- | options/options.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c index 3bf4ee1108..e295afa9bc 100644 --- a/options/options.c +++ b/options/options.c @@ -91,6 +91,7 @@ extern const struct m_sub_options opengl_conf; extern const struct m_sub_options vulkan_conf; extern const struct m_sub_options spirv_conf; extern const struct m_sub_options d3d11_conf; +extern const struct m_sub_options d3d11va_conf; extern const struct m_sub_options angle_conf; extern const struct m_sub_options cocoa_conf; @@ -702,6 +703,9 @@ const m_option_t mp_opts[] = { #if HAVE_D3D11 OPT_SUBSTRUCT("", d3d11_opts, d3d11_conf, 0), +#if HAVE_D3D_HWACCEL + OPT_SUBSTRUCT("", d3d11va_opts, d3d11va_conf, 0), +#endif #endif #if HAVE_EGL_ANGLE_WIN32 diff --git a/options/options.h b/options/options.h index 47a4622430..170de9cddc 100644 --- a/options/options.h +++ b/options/options.h @@ -333,6 +333,7 @@ typedef struct MPOpts { struct vulkan_opts *vulkan_opts; struct spirv_opts *spirv_opts; struct d3d11_opts *d3d11_opts; + struct d3d11va_opts *d3d11va_opts; struct cocoa_opts *cocoa_opts; struct dvd_opts *dvd_opts; |