Am Dienstag, 18. Jänner 2022, 19:50:28 EAT schrieb Gabriel Ivăncescu:
Signed-off-by: Gabriel Ivăncescu gabrielopcode@gmail.com
Minimizing/restoring and setting foreground twice + waiting for thread msgs seems to work in all cases for testing, both on native and wine.
dlls/d3d8/tests/device.c | 289 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 289 insertions(+)
I finally dug out my Windows 7 box and ran the test there. Unfortunately it fails:
device.c:5020: Test failed: Failed to reset device. device.c:5026: Test failed: Expected (0,0)-(1920,1200), got (0,0)-(960,600). device.c:5033: Test failed: Expected wndproc != 0x2ed770. device.c:8677: Test failed: Failed to set foreground window. device.c:8728: Test failed: Failed to set foreground window.
The ddraw tests pass on that Windows 7 box though, so the important stuff looks good.