gdiplus: GdipLoadImageFromStream should use well-known pixel format constants when possible

Andrey Turkin andrey.turkin at gmail.com
Wed Jan 14 13:31:20 CST 2009


PixelFormat is defined as INT in C/C++, and consist of several
bit-shifted field; however it is declared as enumeration with 14 possible
values, thus GDI+ function must use those predefined values if possible.
This patch make GdipLoadImageFromStream do this. Should make Eclipse 3.4
happier and fix bug 14196

---
 dlls/gdiplus/image.c |   18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: a0098c3912f101c2baf158baf5164409f6525108.diff
Type: text/x-patch
Size: 1184 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20090114/12d4def3/attachment.bin 


More information about the wine-patches mailing list