diff options
author | Jan Ekström <jeebjp@gmail.com> | 2019-10-12 00:35:22 +0300 |
---|---|---|
committer | James Ross-Gowan <rossy@jrg.systems> | 2019-10-13 22:31:33 +1100 |
commit | 648d7859300562a99f035e06a0d42245c3c46e23 (patch) | |
tree | d627852fd319b8e6b3a11b2aef526b6b43712113 /wscript | |
parent | 4809a3f48d41f5414057e965c0f18e0279cc2abe (diff) | |
download | mpv-648d7859300562a99f035e06a0d42245c3c46e23.tar.bz2 mpv-648d7859300562a99f035e06a0d42245c3c46e23.tar.xz |
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.
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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', |