Commit e4198d47 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

gdiplus: Also handle 32bpp bitmaps.

parent 717df5b2
...@@ -1389,6 +1389,9 @@ GpStatus WINGDIPAPI GdipCreateBitmapFromHBITMAP(HBITMAP hbm, HPALETTE hpal, GpBi ...@@ -1389,6 +1389,9 @@ GpStatus WINGDIPAPI GdipCreateBitmapFromHBITMAP(HBITMAP hbm, HPALETTE hpal, GpBi
case 24: case 24:
format = PixelFormat24bppRGB; format = PixelFormat24bppRGB;
break; break;
case 32:
format = PixelFormat32bppRGB;
break;
case 48: case 48:
format = PixelFormat48bppRGB; format = PixelFormat48bppRGB;
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment