d3d11: disable IDXGIInfoQueue usage if dxgidebug.h is incomplete

Older MinGW-w64 doesn't define IDXGIInfoQueue in dxgidebug.h.
This commit is contained in:
Kacper Michajłow
2023-05-01 17:43:25 +02:00
parent 19a9164e24
commit 1a495451ab
4 changed files with 20 additions and 0 deletions

View File

@@ -995,6 +995,7 @@ if features['d3d11']
sources += files('video/out/d3d11/context.c',
'video/out/d3d11/ra_d3d11.c')
features += {'dxgi-debug-d3d11': cc.has_header_symbol('d3d11sdklayers.h', 'DXGI_DEBUG_D3D11')}
features += {'dxgi-debug': cc.has_header_symbol('dxgidebug.h', 'IID_IDXGIInfoQueue')}
endif
wayland = {