WineD3D: let flush_to_framebuffer_drawpixels use a valid rect

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


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.

Roderick Colenbrander
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden:
-------------- 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 : 

More information about the wine-patches mailing list