Commit aeb3e1d2 authored by Jason Edmeades's avatar Jason Edmeades Committed by Alexandre Julliard

Make LR_LOADTRANSPARENT work and give transparent images.

parent b2eff1ca
...@@ -2174,7 +2174,7 @@ static HBITMAP BITMAP_Load( HINSTANCE instance, LPCWSTR name, UINT loadflags ) ...@@ -2174,7 +2174,7 @@ static HBITMAP BITMAP_Load( HINSTANCE instance, LPCWSTR name, UINT loadflags )
else else
hbitmap = CreateCompatibleBitmap(screen_dc, width, height); 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);
} }
} }
} }
......
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