Commit b14a4ca0 authored by Vincent Povirk's avatar Vincent Povirk Committed by Alexandre Julliard

gdiplus: Properly set the gdi+ format to match the wic encoder's format.

parent 6fb92b79
......@@ -4078,7 +4078,7 @@ static GpStatus encode_image_WIC(GpImage *image, IStream* stream,
{
if (IsEqualGUID(&wicformat, pixel_formats[i].wic_format))
{
gdipformat = bitmap->format;
gdipformat = pixel_formats[i].gdip_format;
break;
}
}
......
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