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

Andrey Turkin andrey.turkin at gmail.com
Thu Jan 15 03:39:47 CST 2009


Please use this version instead

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 |   30 +++++++++++++++++++++++++++++-
 1 files changed, 29 insertions(+), 1 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: c81fd4cd6ca50bc2ba2c31ea1d58d303787a1862.diff
Type: text/x-patch
Size: 1674 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20090115/ecb4a204/attachment-0001.bin 


More information about the wine-patches mailing list