Module: wine Branch: master Commit: aef202507bd85075c32c868efe5eef331d3e55de URL: http://source.winehq.org/git/wine.git/?a=commit;h=aef202507bd85075c32c868efe...
Author: Vincent Povirk vincent@codeweavers.com Date: Fri Sep 4 10:30:03 2009 -0500
gdiplus: Remove unused bitmap flipping code.
---
dlls/gdiplus/graphics.c | 9 --------- 1 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c index 1df3eee..4350e79 100644 --- a/dlls/gdiplus/graphics.c +++ b/dlls/gdiplus/graphics.c @@ -1854,15 +1854,6 @@ GpStatus WINGDIPAPI GdipDrawImagePointsRect(GpGraphics *graphics, GpImage *image else return NotImplemented;
- /* IPicture renders bitmaps with the y-axis reversed - * FIXME: flipping for unknown image type might not be correct. */ - if(image->type != ImageTypeMetafile){ - INT temp; - temp = pti[0].y; - pti[0].y = pti[2].y; - pti[2].y = temp; - } - if(IPicture_Render(image->picture, graphics->hdc, pti[0].x, pti[0].y, pti[1].x - pti[0].x, pti[2].y - pti[0].y, srcx * dx, srcy * dy,