diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-28 13:27:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-28 13:27:26 +0300 |
commit | 8f018529676006ed744138a929fcc621694d6d75 (patch) | |
tree | 03ef706a48100c1bb42a4611add5601844d2cbf5 /src/maplayer.cpp | |
parent | ad43ff0ddf9b0484e00db7b7f0930bad975bf21a (diff) | |
download | plus-8f018529676006ed744138a929fcc621694d6d75.tar.gz plus-8f018529676006ed744138a929fcc621694d6d75.tar.bz2 plus-8f018529676006ed744138a929fcc621694d6d75.tar.xz plus-8f018529676006ed744138a929fcc621694d6d75.zip |
In renderers replace ImagePattern in methods into Pattern.
Diffstat (limited to 'src/maplayer.cpp')
-rw-r--r-- | src/maplayer.cpp | 4 |
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); } } |