From: Rémi Bernon rbernon@codeweavers.com
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=57584 --- dlls/winex11.drv/bitblt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/winex11.drv/bitblt.c b/dlls/winex11.drv/bitblt.c index 757386595f0..267a42bd4c7 100644 --- a/dlls/winex11.drv/bitblt.c +++ b/dlls/winex11.drv/bitblt.c @@ -1902,7 +1902,7 @@ static struct window_surface *create_surface( HWND hwnd, Window window, const XV info->bmiHeader.biPlanes = 1; info->bmiHeader.biBitCount = format->bits_per_pixel; info->bmiHeader.biSizeImage = get_dib_image_size( info ); - if (format->bits_per_pixel > 8) set_color_info( vis, info, use_alpha ); + set_color_info( vis, info, use_alpha );
if (!(image = x11drv_image_create( info, vis ))) return NULL;