wined3d: universal surface convertor function for unsigned integer color formats(4th attempt)
Victor Eremin
ErV2005 at rambler.ru
Wed Jul 23 11:40:05 CDT 2008
Supports conversion between most of "unsigned color" argb/xrgb
surface formats (D3DFMT_A8R8G8B8, D3DFMT_A8R3G3B2, etc), and
"luminosity" color formats (D3DFMT_L8, etc),
excluding D3DFMT_A16R16G16B16, D3DFMT_A8P8, D3DFMT_P8 and D3DFMT_A1.
luminosity to argb/xrgb (and vice versa) conversions are not supported
Removes "Cannot find coverter" FIXMEs from "Ancient Evil" and
"Stranded 2" games.
Fixes water glitches in "Stranded 2" game.
---
dlls/wined3d/surface_base.c | 189
++++++++++++++++++++++++++++++++++++++--
dlls/wined3d/utils.c | 126 +++++++++++++-------------
dlls/wined3d/wined3d_private.h | 2 +-
3 files changed, 247 insertions(+), 70 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a975d7c24cfbe9ded52a01f2c0b5d0264bb78b6e.diff
Type: text/x-patch
Size: 24725 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080723/91ba6613/attachment-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: This is a digitally signed message part.
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080723/91ba6613/attachment-0001.pgp
More information about the wine-patches
mailing list