mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
gdiplus: Remove unused bitmap flipping code.
This commit is contained in:
parent
0313f88794
commit
aef202507b
1 changed files with 0 additions and 9 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue