[PATCH] dlls/wined3d: Implemented converting X1R5G5B5 format to R5G5B5A1 to emulate color-keying.

hightower at tregt.net hightower at tregt.net
Sat May 19 21:30:24 CDT 2007


> Am Samstag 19 Mai 2007 15:33 schrieb hightower at tregt.net:
> Looks good to me, although I wonder if the  maskin in "*Dest = (color &
> 0x7FFF) << 1" is really needed or if we can just shift out the highest
> bit.
>
>
>
Yeah, you are quite right. No need to mask it, as it's the same pixeldata.
Modified the patch to reflect the changes.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-dlls-wined3d-Implemented-converting-X1R5G5B5-format.patch
Type: application/octet-stream
Size: 2132 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070520/d94817a2/0001-dlls-wined3d-Implemented-converting-X1R5G5B5-format.obj


More information about the wine-patches mailing list