From e4198d473c95de1a50a70e8a628541b0494aa1b8 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sat, 4 Oct 2008 11:30:09 +0200 Subject: [PATCH] gdiplus: Also handle 32bpp bitmaps. --- dlls/gdiplus/image.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c index 9e3fd622b72..4d6a54f8af1 100644 --- a/dlls/gdiplus/image.c +++ b/dlls/gdiplus/image.c @@ -1389,6 +1389,9 @@ GpStatus WINGDIPAPI GdipCreateBitmapFromHBITMAP(HBITMAP hbm, HPALETTE hpal, GpBi case 24: format = PixelFormat24bppRGB; break; + case 32: + format = PixelFormat32bppRGB; + break; case 48: format = PixelFormat48bppRGB; break; -- 2.11.4.GIT