WineD3D: BltFast/BltOverride color keying

Roderick Colenbrander thunderbird2k at gmx.net
Wed Jul 26 16:19:04 CDT 2006


Use this version instead as the previous one didn't compile due to an extra '(' :(

Roderick

> Hi,
> 
> This patch adds color keying support to *_BltOverride. It required changes
> to *_BltFast to properly pass 'BLT' flags instead of 'BLTFAST' to
> *_BltOverride. Next it adds SRC/DEST color keying to *_BltOverride.
> 
> Further to get color keying working at all it fixed a small error in
> LoadTexture which I paste here because it is hard to spot in the patch. Right
> now a check in there looks like:
> (This->Flags & SFLAG_GLCKEY && !(This->CKeyFlags & DDSD_CKSRCBLT)) ||
> /* Reload: vice versa  OR */
> (!(This->Flags & SFLAG_GLCKEY) && !This->CKeyFlags & DDSD_CKSRCBLT) ||
> 
> The third '!' was removed as indicated by the comment this fixes color
> keying. Next to this some gcc warning was silenced by adding some more braces.
> 
> Regards,
> Roderick Colenbrander
> 


-- 


Echte DSL-Flatrate dauerhaft für 0,- Euro*. Nur noch kurze Zeit!
"Feel free" mit GMX DSL: http://www.gmx.net/de/go/dsl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wined3d_bltfast_colorkey.patch
Type: text/x-diff
Size: 4327 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20060726/92ed4622/wined3d_bltfast_colorkey.bin


More information about the wine-devel mailing list