diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/d3d11/gstd3d11device.cpp b/subprojects/gst-plugins-bad/gst-libs/gst/d3d11/gstd3d11device.cpp index 712e829556..d3b65bd29b 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/d3d11/gstd3d11device.cpp +++ b/subprojects/gst-plugins-bad/gst-libs/gst/d3d11/gstd3d11device.cpp @@ -169,6 +169,12 @@ gst_d3d11_device_enable_d3d11_debug (void) if (!d3d11_debug_module) d3d11_debug_module = g_module_open ("d3d11_1sdklayers.dll", G_MODULE_BIND_LAZY); + if (!d3d11_debug_module) + d3d11_debug_module = + g_module_open ("d3d11_2sdklayers.dll", G_MODULE_BIND_LAZY); + if (!d3d11_debug_module) + d3d11_debug_module = + g_module_open ("d3d11_3sdklayers.dll", G_MODULE_BIND_LAZY); g_once_init_leave (&_init, 1); }