windowscodecs: Don't overwrite bih.bV5AlphaMask and set the LCS_DEVICE_RGB flag in bih.bV5CSType.
This commit is contained in:
parent
f2b78d1fd0
commit
cd7637ec6d
|
@ -360,7 +360,7 @@ static HRESULT WINAPI BmpFrameEncode_Commit(IWICBitmapFrameEncode *iface)
|
|||
bih.bV5GreenMask = This->format->greenmask;
|
||||
bih.bV5BlueMask = This->format->bluemask;
|
||||
bih.bV5AlphaMask = This->format->alphamask;
|
||||
bih.bV5AlphaMask = LCS_DEVICE_RGB;
|
||||
bih.bV5CSType = LCS_DEVICE_RGB;
|
||||
}
|
||||
|
||||
bfh.bfSize = sizeof(BITMAPFILEHEADER) + info_size + bih.bV5SizeImage;
|
||||
|
|
Loading…
Reference in New Issue