ddraw: Implement ForceRefreshRate registry entry for overriding DirectX refresh rate

Stefan Dösinger stefan at codeweavers.com
Fri Mar 7 17:14:28 CST 2008

Am Freitag, 7. März 2008 22:29:01 schrieb Denver Gingerich:
> The DirectX refresh rate override feature that this patch implements is
> described in main.c below.
> In order for the override to take effect only on SetDisplayMode and not on
> RestoreDisplayMode it was necessary to move the functionality of
> SetDisplayMode into a helper function (DDRAW_SetDisplayMode) and let
> IDirectDrawImpl_SetDisplayMode and IDirectDrawImpl_RestoreDisplayMode call
> the helper function.
I have two concerns:

First, do you have an application that needs this, or is this just for making 
this aspect of ddraw compatible with Windows? There's nothing wrong with that 
in principle, but I am curious

I do not really like the name DDRAW_SetDisplayMode. It somewhat goes away from 
the convention by starting with DDRAW, but yet it does not tell more about 
what the function does.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20080308/e9a73eb1/attachment.pgp 

More information about the wine-devel mailing list