[Bug 22441] DNSBench cannot save to file an image

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Apr 21 07:10:08 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=22441





--- Comment #5 from JosephHenryBlack at yahoo.co.nz  2010-04-21 07:10:07 ---
This seems to make it work:

git diff
diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c
index 0a73dcf..3086410 100644
--- a/dlls/gdiplus/image.c
+++ b/dlls/gdiplus/image.c
@@ -1242,6 +1242,9 @@ GpStatus WINGDIPAPI GdipCreateBitmapFromGdiDib(GDIPCONST
B
     case 24:
         format = PixelFormat24bppRGB;
         break;
+    case 32:
+        format = PixelFormat32bppRGB;
+        break;
     default:
         FIXME("don't know how to handle %d bpp\n",
info->bmiHeader.biBitCount);
         *bitmap = NULL;

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list