mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
d3d11: disable IDXGIInfoQueue usage if dxgidebug.h is incomplete
Older MinGW-w64 doesn't define IDXGIInfoQueue in dxgidebug.h.
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user