diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-29 21:22:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-29 21:22:33 +0300 |
commit | f94a6551b8d140e272ac1c46bce1ff0e5df34986 (patch) | |
tree | 35c764dfec7b76f926c30cd186b6fe36968b6529 /src/maplayer.cpp | |
parent | 0336b91f51cdf14e022f74d16c15892b63b658eb (diff) | |
download | plus-f94a6551b8d140e272ac1c46bce1ff0e5df34986.tar.gz plus-f94a6551b8d140e272ac1c46bce1ff0e5df34986.tar.bz2 plus-f94a6551b8d140e272ac1c46bce1ff0e5df34986.tar.xz plus-f94a6551b8d140e272ac1c46bce1ff0e5df34986.zip |
improve draw image calls.
Diffstat (limited to 'src/maplayer.cpp')
-rw-r--r-- | src/maplayer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/maplayer.cpp b/src/maplayer.cpp index 10e134e9d..1d5c4d003 100644 --- a/src/maplayer.cpp +++ b/src/maplayer.cpp @@ -139,7 +139,7 @@ void MapLayer::draw(Graphics *const graphics, if (!c) { - DRAW_IMAGE(graphics, img, px, py); + graphics->drawImage2(img, px, py); } else { @@ -455,7 +455,7 @@ void MapLayer::drawFringe(Graphics *const graphics, int startX, int startY, if (!c) { - DRAW_IMAGE(graphics, img, px, py); + graphics->drawImage2(img, px, py); } else { @@ -796,7 +796,7 @@ void MapItem::draw(Graphics *const graphics, const int x, const int y, { BLOCK_START("MapItem::draw") if (mImage) - DRAW_IMAGE(graphics, mImage, x, y); + graphics->drawImage2(mImage, x, y); switch (mType) { |