Commit 3cead4fe authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

winex11: Use the appropriate color_shifts when the target is a bitmap.

parent 8679d0b1
......@@ -1973,7 +1973,7 @@ update_format:
info->bmiHeader.biPlanes = 1;
info->bmiHeader.biBitCount = format->bits_per_pixel;
if (info->bmiHeader.biHeight > 0) info->bmiHeader.biHeight = -info->bmiHeader.biHeight;
set_color_info( dev, physdev->color_shifts, info );
set_color_info( dev, color_shifts, info );
return ERROR_BAD_FORMAT;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment