On Mon, 6 Apr 2020 at 16:23, Zhiyi Zhang zzhang@codeweavers.com wrote:
DXGI_MODE_SCALING_CENTERED and DXGI_MODE_SCALING_STRETCHED modes may be supported by drivers. When these flags are specified, IDXGIOutput_FindClosestMatchingMode() will try to find a mode matching the scaling field first, which may not be the same as the original mode. So make sure such a mode exists before finding them.
Signed-off-by: Zhiyi Zhang zzhang@codeweavers.com
Fix test failures like in https://test.winehq.org/data/7096ab45444d7b7cbb926b5a51af0cbc46960ed3/win10_...
It introduces a failure here:
dxgi.c:1475: Test failed: Got scaling 0x2, expected 0.