WineD3D: let flush_to_framebuffer_drawpixels use a valid rect

Roderick Colenbrander thunderbird2k at gmx.net
Tue Feb 19 14:26:24 CST 2008


Hi,

Originally flush_to_framebuffer_drawpixels was called from UnlockRect, so in that case LockedRect was always set. These days it can also be called (through LoadLocation) from other places. This patch makes it use the LockedRect when the surface is locked else the whole surface is uploaded. This fixes rendering issues in Red Alert and other apps.

Regards,
Roderick Colenbrander
-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Upload-the-whole-surface-to-the-framebuffer-when-Loc.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080219/0c3a23e1/attachment.bin 


More information about the wine-patches mailing list