From b14a4ca0064a675b7f0c86a22e7fc39238080fc8 Mon Sep 17 00:00:00 2001 From: Vincent Povirk Date: Fri, 4 Oct 2013 14:30:48 -0500 Subject: [PATCH] gdiplus: Properly set the gdi+ format to match the wic encoder's format. --- dlls/gdiplus/image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c index 0f97fd7a6c7..2e9191eb1a5 100644 --- a/dlls/gdiplus/image.c +++ b/dlls/gdiplus/image.c @@ -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; } } -- 2.11.4.GIT