[PATCH 2/4] d3d9/tests: Fix test_reset on Nvidia Windows 10.
stefan at codeweavers.com
Wed Oct 18 15:41:37 CDT 2017
> Am 18.10.2017 um 21:38 schrieb Stefan Dösinger <stefan at codeweavers.com>:
> The client rectangle is 204x150 on my system (real one, Nvidia GPU, not
> qemu), even though we requested 200x150. Odd, but not really the concern
> of this test.
I had an epiphany where the odd behavior comes from: It was caused by my custom UI scaling factor of 172% (=165 DPI). Setting it to 150% (144 DPI), a value suggested by Windows, gives the expected window size.
I still think the patch is a good idea because it makes the test more robust against such configurations. I’ll resend it tomorrow with an updated title and description.
More information about the wine-devel