[PATCH] also handle 32bpp bitmaps
Marcus Meissner
meissner at suse.de
Sun Sep 28 14:30:09 CDT 2008
Hi,
Skype (or my system) wants 32bit bitmaps and displays much
nicer with this added.
Ciao, Marcus
---
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 2172b51..858af56 100644
--- a/dlls/gdiplus/image.c
+++ b/dlls/gdiplus/image.c
@@ -1375,6 +1375,9 @@ GpStatus WINGDIPAPI GdipCreateBitmapFromHBITMAP(HBITMAP hbm, HPALETTE hpal, GpBi
case 24:
format = PixelFormat24bppRGB;
break;
+ case 32:
+ format = PixelFormat32bppRGB;
+ break;
case 48:
format = PixelFormat48bppRGB;
break;
--
1.5.6
More information about the wine-patches
mailing list