Colour problems with latest DIB fix

Gerard Patel gerard.patel at
Wed Oct 31 03:01:53 CST 2001

At 05:50 PM 30/10/2001 -0800, you wrote:
>   No no. Usually (0,0,0) means the default rgb layout. But if you
>always go to asis in that case, then things will be wrong for users with
>a bgr565 X configuration (should reverse in that case).
>   SetImageBits_* and GetImageBits_* should never get (0,0,0) as the
>color masks. They don't know how to handle it and should not have to,
>their callers are supposed to take care of that.
>   I think i found the source of the problem, some old code I had not
>changed. Can you try the attached patch?

I did and it does not change anything. I don't quite see how it could,
since it does not seem better to not initialize data than initialize it to
a wrong value :-)

I tried ff0000/ff00/ff instead, with better success...


More information about the wine-devel mailing list