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

This commit is contained in:
Vincent Povirk 2013-10-04 14:30:48 -05:00 committed by Alexandre Julliard
parent 6fb92b79fa
commit b14a4ca006

View File

@ -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;
} }
} }