include/d3d9types.h: Remove Size from D3DVOLUME_DESC

Stefan Dösinger stefan at codeweavers.com
Sat Feb 24 10:04:13 CST 2007


Am Samstag 24 Februar 2007 13:27 schrieb H. Verbeet:
> On 24/02/07, Rok Mandeljc <rok.mandeljc at email.si> wrote:
> > According to both MSDN and wine's d3d9 sources, Size was removed from
> > D3DVOLUME_DESC in DX9. This patch seems to have fixed crash in
> > d3dx9_30.dll at NeverWinter Nights 2 startup (I assume it was due to
> > wrong offset of Width, Height and Depth due to Size's presence).
> >
> > Regards,
> >   Rok
>
> Nice find, this fixes some stack corruption in a couple of applications.
Yeah, we've been hunting some rouge memory corruption since weeks, but we 
didn't suspect a problem with our headers :-)

good catch :-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070224/83b700ff/attachment.pgp


More information about the wine-patches mailing list