WineD3D: fix LockedRect regression

Roderick Colenbrander thunderbird2k at
Sat Nov 3 07:35:14 CDT 2007


During Stefan's LockedRect rewrite some code got moved to the base LockRect. Since the rewrite This->lockedRect isn't set in d3d's LockRect anymore while it needs it (it defaults to 0,0,0,0). This is a regression. Instead of This->lockedRect pass pRect to AddDirtyRect as it can be used instead of This->lockedRect.

This fixes render target locking in various 2D games.

Roderick Colenbrander
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-This-lockedRect-is-these-days-set-in-the-base-versi.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : 

More information about the wine-patches mailing list