WineD3D: add a gdi RealizePalette 1/4
Roderick Colenbrander
thunderbird2k at gmx.net
Mon Feb 18 14:50:03 CST 2008
Hi,
This is the first patch out of 3 patches which will move RealizePalette to surface.c / surface_gdi.c. Right now there is a single version in surface_base.c but it doesn't reflect the palette update to the 'screen'. This can't be done in a way which is efficient for both GDI and GL. Second the current implementation contains LoadLocation(SFLAG_INSYSMEM) code which is not needed for GDI. It is better to split RealizePalette in a GDI and GL version. That is what this patch does.
The 'screen' update fixes rendering in one of the DCT tests and in Red Alert.
Regards,
Roderick Colenbrander
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-a-GDI-version-of-RealizePalette.-The-base-versio.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080218/f26082e2/attachment.bin
More information about the wine-patches
mailing list