d3d: Add a slight delay before testing the ddraw and d3d9 visual tests
Stefan Dösinger
stefan at codeweavers.com
Wed Feb 13 04:28:45 CST 2008
Am Mittwoch, 13. Februar 2008 03:11:24 schrieb Peter Dons Tychsen:
> Eh, this does not seem like a proper way to get a unit test to pass.
>
> Sleep()... that leads to the dark side! :-)
I talked to Maarten on IRC about this. The problem seems to be that his
monitor takes ages to mode switch, but ChangeDisplaySettings returns before
this modeswitch is done. Also the opengl driver attempts to draw before the
setup is ready, which fails and causes the test failures.
So it sounds like a driver bug which will only affect the tests(since games
draw repeatedly and do not care if the first few frames do not render
properly)
More information about the wine-devel
mailing list