From 648d7859300562a99f035e06a0d42245c3c46e23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Ekstr=C3=B6m?= Date: Sat, 12 Oct 2019 00:35:22 +0300 Subject: vo_gpu/d3d11: add support for configuring swap chain format Query information on the system output most linked to the swap chain, and either utilize a user-configured format, or either 8bit RGBA or 10bit RGB with 2bit alpha depending on the system output's bit depth. --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wscript') diff --git a/wscript b/wscript index 696636758b..5baa274645 100644 --- a/wscript +++ b/wscript @@ -770,7 +770,7 @@ video_output_features = [ 'name': '--d3d11', 'desc': 'Direct3D 11 video output', 'deps': 'win32-desktop && shaderc && spirv-cross', - 'func': check_cc(header_name=['d3d11_1.h', 'dxgi1_2.h']), + 'func': check_cc(header_name=['d3d11_1.h', 'dxgi1_6.h']), }, { 'name': '--rpi', 'desc': 'Raspberry Pi support', -- cgit v1.2.3