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
@ -169,6 +169,12 @@ gst_d3d11_device_enable_d3d11_debug (void)
|
|||||||
if (!d3d11_debug_module)
|
if (!d3d11_debug_module)
|
||||||
d3d11_debug_module =
|
d3d11_debug_module =
|
||||||
g_module_open ("d3d11_1sdklayers.dll", G_MODULE_BIND_LAZY);
|
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);
|
g_once_init_leave (&_init, 1);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user