-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi all,
Hi,
This patch fixes a problem that appeared in Mafia.
how mafia works ? ;)))
Before this function crashed when pDirtyRect was null. According to MSDN D3DERR_INVALIDCALL should be returned in case of problems.
Well, this is not really the good way to fix the problem (as the surface isn't dirtified)
IDirect3DSurface8Impl_AddDirtyRect is an internal function (as seen in d3d8_provate.h declaration) so i cannot see where you have found the msdn docs ;)
I think you wanted to fix a crash who happened in some IDirect3D*TextureImpl_AddDirty* call no ?
if yes, can you try this patch instead ?
Regards, Roderick Colenbrander
Thanks, Raphael