WineD3D: use the color key in glAlphaFunc in case of index_in_alpha 5/5

Roderick Colenbrander thunderbird2k at gmx.net
Thu Feb 21 15:14:13 CST 2008


Hi,

In case of index_in_alpha we should use the colorkey itself in glAlphaFunc. At the moment we are overwriting the alpha component with 0 for pixels that should get masked away but that of course conflicts with index_in_alpha itself, so that's why we should correctly use the color key in glAlphaFunc.

Regards,
Roderick Colenbrander
-- 
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/?mc=sv_ext_mf@gmx
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-In-case-of-index_in_alpha-we-should-use-the-colorkey.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080221/9d97ecbd/attachment-0001.bin 


More information about the wine-patches mailing list