[dx52] fix AddDirtyRect

Roderick Colenbrander thunderbird2k at gmx.net
Fri Jun 6 11:56:39 CDT 2003


Hi all,

This patch fixes a problem that appeared in Mafia. Before this function 
crashed when pDirtyRect was null. According to MSDN D3DERR_INVALIDCALL should 
be returned in case of problems.

Regards,
Roderick Colenbrander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dx52
Type: text/x-diff
Size: 708 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20030606/c5273176/dx52.bin


More information about the wine-patches mailing list