mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
ddraw/tests: Fix the refresh rate test when running with the Windows 'Standard VGA' driver.
This commit is contained in:
parent
df56b233e0
commit
3e6d0a373d
1 changed files with 4 additions and 1 deletions
|
@ -473,7 +473,10 @@ static void enumdisplaymodes(void)
|
|||
|
||||
modes16bpp_cnt = 0;
|
||||
ddsd.dwFlags = DDSD_PIXELFORMAT | DDSD_REFRESHRATE;
|
||||
U2(ddsd).dwRefreshRate = 1;
|
||||
/* Ask for a refresh rate that could not possibly be used. But note that
|
||||
* the Windows 'Standard VGA' driver claims to run the display at 1Hz!
|
||||
*/
|
||||
U2(ddsd).dwRefreshRate = 2;
|
||||
|
||||
rc = IDirectDraw_EnumDisplayModes(lpDD, 0, &ddsd, 0, enummodescallback_16bit);
|
||||
ok(rc==DD_OK,"EnumDisplayModes returned: %x\n",rc);
|
||||
|
|
Loading…
Reference in a new issue