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

Henri Verbeet hverbeet at gmail.com
Mon Aug 3 02:16:30 CDT 2009


2009/8/3 Roderick Colenbrander <thunderbird2k at gmail.com>:
> XRender colors have 4 16-bit components and in that way are generic.
> We use r8g8b8 all the time for colors (palette.c if I remember
> correctly always scales the text color to r8g8b8). Without this patch
> wrong colors are used in a japanese game someone mentioned in the
> xrender thread. The app in question created 16-bit dibsections after I
> unlocked more depths and the color of text was wrong.
>
Oh right, the first parameter is the source format, not the destination format.



More information about the wine-devel mailing list