gdi32: Handle BITMAP_CopyBitmap correctly for negative heights
Maarten Lankhorst
m.b.lankhorst at gmail.com
Fri Feb 18 19:27:13 CST 2011
---
BITMAP_GetObject has a line with 'dib->dsBmih.biHeight = abs(
dib->dsBmih.biHeight );', this would make negative height bitmaps
impossible to duplicate correctly unless I write to an intermediary
buffer, instead of doing that, I call GDI_GetObjPtr directly saving the
unneeded malloc & memcpy.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bmp.patch
Type: application/mbox
Size: 2459 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20110219/69854451/attachment.bin>
More information about the wine-patches
mailing list