Hi there,

While testing some applications under the latest Wine, I have found
a problem:

Wine always fails to display an image data (DIB) of 32-bit color depth
on X Window with 24-bit color depth.

X11DRV_DIB_SetImageBits_32() should create 24-bit RGB/BGR bitmap
from 32-bit color DIB in the case of 24-bit color depth, in distinction from
the case of 32-bit color depth.  However, the function just copies 32-bit
color DIB at both cases.  In the case of creating 24-bit color bitmap from
32-bit color DIB at X11DRV_DIB_SetImageBits_32(), it may have to do
like the case of 24/32-bit color depth at X11DRV_DIB_GetImageBits_24().
Also, X11DRV_DIB_GetImageBits_32() may have to create 32-bit color
DIB from 24-bit color bitmap in the case of 24-bit color depth, like the
case of 24/32-bit color depth at X11DRV_DIB_SetImageBits_24().

Thank you,
Shigefumi Takeda
[EMAIL PROTECTED]

Reply via email to