2009/8/3 Roderick Colenbrander thunderbird2k@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.