Module: wine Branch: master Commit: e4198d473c95de1a50a70e8a628541b0494aa1b8 URL: http://source.winehq.org/git/wine.git/?a=commit;h=e4198d473c95de1a50a70e8a62...
Author: Marcus Meissner meissner@suse.de Date: Sat Oct 4 11:30:09 2008 +0200
gdiplus: Also handle 32bpp bitmaps.
---
dlls/gdiplus/image.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c index 9e3fd62..4d6a54f 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;