summaryrefslogtreecommitdiff
path: root/src/maplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-28 13:27:26 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-28 13:27:26 +0300
commit8f018529676006ed744138a929fcc621694d6d75 (patch)
tree03ef706a48100c1bb42a4611add5601844d2cbf5 /src/maplayer.cpp
parentad43ff0ddf9b0484e00db7b7f0930bad975bf21a (diff)
downloadmv-8f018529676006ed744138a929fcc621694d6d75.tar.gz
mv-8f018529676006ed744138a929fcc621694d6d75.tar.bz2
mv-8f018529676006ed744138a929fcc621694d6d75.tar.xz
mv-8f018529676006ed744138a929fcc621694d6d75.zip
In renderers replace ImagePattern in methods into Pattern.
Diffstat (limited to 'src/maplayer.cpp')
-rw-r--r--src/maplayer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/maplayer.cpp b/src/maplayer.cpp
index ac33e8bd5..10e134e9d 100644
--- a/src/maplayer.cpp
+++ b/src/maplayer.cpp
@@ -143,7 +143,7 @@ void MapLayer::draw(Graphics *const graphics,
}
else
{
- graphics->drawImagePattern(img, px, py,
+ graphics->drawPattern(img, px, py,
width, img->mBounds.h);
}
}
@@ -459,7 +459,7 @@ void MapLayer::drawFringe(Graphics *const graphics, int startX, int startY,
}
else
{
- graphics->drawImagePattern(img, px, py,
+ graphics->drawPattern(img, px, py,
width, img->mBounds.h);
}
}