On Thu Aug 10 13:41:12 2023 +0000, Zebediah Figura wrote:
=== debian11 (32 bit report) ===
dxgi: dxgi.c:2192: Test failed: Got window rect (0,0)-(1024,737), expected (0,0)-(640,480). dxgi.c:2192: Test failed: Got client rect (0,0)-(1024,737), expected (0,0)-(640,480). dxgi.c:2192: Test failed: Got monitor rect (0,0)-(1024,737), expected (0,0)-(640,480).
This failure is in a different test, but it also hasn't happened before. Could you please take a look at it?
I get a similar-looking (but different, High DPI related) failure on Windows so I mentally blocked this.
But oof. The issue here is that fullscreen swapchains take the current mode size whereas windowed swapchains the current window size. So far so good. But dxgi creates FS swapchains as windowed and then switches them to fullscreen. But by the time we switch to FS the swapchain's desc now has a non-zero size