2/4 winex11: make sure r8g8b8 is used when using get_xrender_color

Alexandre Julliard julliard at winehq.org
Mon Aug 3 10:12:44 CDT 2009

Roderick Colenbrander <thunderbird2k at gmail.com> writes:

> The text color of a physdev is in 24-bit r8g8b8 independent of the
> depth, so make sure the picture format passed to get_xrender_color is
> also in this format. This prepares for dibsections with support in
> depths other than the screen depth.

This is wrong, the text pixel is in device-specific format. The color
conversion functions that are used for the text pixel and similar
variables need to be expanded to take into account multiple depths (not
to mention DIB color maps...)

Alexandre Julliard
julliard at winehq.org

More information about the wine-devel mailing list