[PATCH] also handle 32bpp bitmaps

Marcus Meissner meissner at suse.de
Sat Oct 4 04: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 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;
-- 
1.5.6



More information about the wine-patches mailing list