wined3d: universal surface convertor function for unsigned integer color formats
Victor Eremin
ErV2005 at rambler.ru
Sun Jul 13 17:51:42 CDT 2008
Converter function supports conversion between most of
"unsigned color" argb/xrgb surface formats (like D3DFMT_A8R8G8B8,
D3DFMT_A8R3G3B2, and so on), and between "luminosity" color formats
(D3DFMT_L8, etc), excluding D3DFMT_A16R16G16B16, D3DFMT_A8P8,
D3DFMT_P8 and D3DFMT_A1.
Conversion from rgba to luminosity (and vice versa) is not currently
implemented.
The patch removes "Cannot find coverter" FIXMEs from "Ancient Evil" and
"Stranded 2" games.
Patch also fixes water glitches in "Stranded 2" game.
---
dlls/wined3d/surface_base.c | 215 +++++++++++++++++++++++++++++++++++++++++-
1 files changed, 209 insertions(+), 6 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: e39f12e5ca5f7ca6e12d4eba1ff82824dbde4c0c.diff
Type: text/x-patch
Size: 9746 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080714/9e12a678/attachment.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/20080714/9e12a678/attachment.pgp
More information about the wine-patches
mailing list