mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
d3d11: add support for new debug layer versions
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1237>
This commit is contained in:
parent
2853c085c7
commit
6844a243c8
1 changed files with 6 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue