From: Andoni Morales Alastruey Date: Sat, 23 Oct 2021 17:26:06 +0000 (+0200) Subject: d3d11: add support for new debug layer versions X-Git-Tag: 1.19.3~79 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6844a243c8c8270c5b608a5db83745cbaaa64510;p=platform%2Fupstream%2Fgstreamer.git d3d11: add support for new debug layer versions Part-of: --- 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 712e829..d3b65bd 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); }