[PATCH 2/2] user32/tests: Fix a failing test on Windows 10 1909.
Zhiyi Zhang
zzhang at codeweavers.com
Thu Aug 13 04:53:02 CDT 2020
Although most of the older Windows versions allow changing to a 1Hz display mode, it returns failure
on Windows 10 1909+.
Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
---
dlls/user32/tests/monitor.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/user32/tests/monitor.c b/dlls/user32/tests/monitor.c
index 57d2ec0008c..b151721533d 100644
--- a/dlls/user32/tests/monitor.c
+++ b/dlls/user32/tests/monitor.c
@@ -257,7 +257,7 @@ struct vid_mode
static const struct vid_mode vid_modes_test[] = {
{1024, 768, 0, 0, DM_PELSWIDTH | DM_PELSHEIGHT | DM_BITSPERPEL | DM_DISPLAYFREQUENCY, 0},
{1024, 768, 0, 0, DM_PELSWIDTH | DM_PELSHEIGHT | DM_DISPLAYFREQUENCY, 1},
- {1024, 768, 0, 1, DM_PELSWIDTH | DM_PELSHEIGHT | DM_DISPLAYFREQUENCY, 1},
+ {1024, 768, 0, 1, DM_PELSWIDTH | DM_PELSHEIGHT | DM_DISPLAYFREQUENCY, 0},
{1024, 768, 0, 0, DM_PELSWIDTH | DM_PELSHEIGHT | DM_BITSPERPEL , 0},
{1024, 768, 0, 0, DM_PELSWIDTH | DM_PELSHEIGHT , 1},
{1024, 768, 0, 0, DM_BITSPERPEL , 0},
--
2.25.1
More information about the wine-devel
mailing list