mirror of
https://github.com/reactos/wine.git
synced 2024-12-01 15:40:43 +00:00
gdiplus: Properly set the gdi+ format to match the wic encoder's format.
This commit is contained in:
parent
6fb92b79fa
commit
b14a4ca006
@ -4078,7 +4078,7 @@ static GpStatus encode_image_WIC(GpImage *image, IStream* stream,
|
|||||||
{
|
{
|
||||||
if (IsEqualGUID(&wicformat, pixel_formats[i].wic_format))
|
if (IsEqualGUID(&wicformat, pixel_formats[i].wic_format))
|
||||||
{
|
{
|
||||||
gdipformat = bitmap->format;
|
gdipformat = pixel_formats[i].gdip_format;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user