https://bugs.winehq.org/show_bug.cgi?id=52717
Bug ID: 52717 Summary: dxgi:dxgi fails because DXGI_STATUS_OCCLUDED != S_OK Product: Wine Version: unspecified Hardware: x86-64 OS: Windows Status: NEW Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
dxgi:dxgi fails on Windows 7 and in the 64-bit Windows 8.1 because DXGI_STATUS_OCCLUDED != S_OK:
dxgi.c:2128: Test failed: Got unexpected hr 0x87a0001. dxgi.c:3576: Test failed: Got unexpected hr 0x87a0001.
https://test.winehq.org/data/patterns.html#dxgi:dxgi
This is because of the commit below changed a couple of SUCCEEDED(hr) to hr == S_OK:
commit 65ff2098826bb9944b872251b1c9543bbbe6f488 Author: Eric Pouech eric.pouech@gmail.com AuthorDate: Fri Mar 18 16:59:29 2022 +0100
dxgi/tests: Build without -DWINE_NO_LONG_TYPES.
Signed-off-by: Eric Pouech eric.pouech@gmail.com Signed-off-by: Henri Verbeet hverbeet@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
So the question is: should these two checks be reverted to SUCCEEDED(hr), or should we investigate why we get DXGI_STATUS_OCCLUDED on w7pro64-64, w7u*, win81_cw-gtx560-64 and win81_cw-rx460-64 ?