From b3070d1255c461871db2e66918cab225512ea38f Mon Sep 17 00:00:00 2001 From: Christopher Degawa Date: Fri, 25 Apr 2025 20:18:03 -0500 Subject: [PATCH] build: move check for DXGI_DEBUG_D3D11 down video/out/gpu/d3d11_helpers.c requires it as well, and it's possible to have egl-angle-win32 enabled without d3d11. Signed-off-by: Christopher Degawa --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 577da7a448..abb10bf0b8 100644 --- a/meson.build +++ b/meson.build @@ -1005,7 +1005,6 @@ features += {'d3d11': d3d11.allowed()} 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')} endif wayland = { @@ -1200,6 +1199,7 @@ endif if features['d3d11'] or features['egl-angle-win32'] sources += files('video/out/gpu/d3d11_helpers.c') + features += {'dxgi-debug-d3d11': cc.has_header_symbol('d3d11sdklayers.h', 'DXGI_DEBUG_D3D11')} endif egl = dependency('egl', version: '>= 1.4.0', required: get_option('egl'))