Make LR_LOADTRANSPARENT work and give transparent images.

This commit is contained in:
Jason Edmeades 2005-02-26 17:40:55 +00:00 committed by Alexandre Julliard
parent b2eff1ca01
commit aeb3e1d2d4
1 changed files with 1 additions and 1 deletions

View File

@ -2174,7 +2174,7 @@ static HBITMAP BITMAP_Load( HINSTANCE instance, LPCWSTR name, UINT loadflags )
else
hbitmap = CreateCompatibleBitmap(screen_dc, width, height);
SetDIBits(screen_dc, hbitmap, 0, height, bits, info, DIB_RGB_COLORS);
SetDIBits(screen_dc, hbitmap, 0, height, bits, fix_info, DIB_RGB_COLORS);
}
}
}