[1/3] WineD3D: Use a sane default refresh rate

Stefan Dösinger stefan at codeweavers.com
Wed Aug 19 07:51:44 CDT 2009

Am Wednesday 19 August 2009 14:46:21 schrieb Henri Verbeet:
> 2009/8/19 Stefan Dösinger <stefan at codeweavers.com>:
> > and its value(=0) is not sane
> MSDN seems to disagree. "The value of 0 indicates an adapter default."
0 as a refresh rate? Or in the sense of "this is the default adapter"?

0 for D3DADAPTER_DEFAULT certainly makes sense. But 0 as advertised refresh 
rate does not. 0 probably makes sense as requested refresh rate, in the sense 
of "Use whatever refresh rate is set".

Even if MSDN claims that a driver can enum a refresh rate of zero, games 
evidently don't like it: Battlefield 1942 refuses to change the screen 
resolution if all resolutions have a refresh rate of 0.

More information about the wine-devel mailing list