From 8f018529676006ed744138a929fcc621694d6d75 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 28 Dec 2013 13:27:26 +0300 Subject: In renderers replace ImagePattern in methods into Pattern. --- src/resources/ambientlayer.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/resources') diff --git a/src/resources/ambientlayer.cpp b/src/resources/ambientlayer.cpp index b74ba96db..622091a39 100644 --- a/src/resources/ambientlayer.cpp +++ b/src/resources/ambientlayer.cpp @@ -119,13 +119,13 @@ void AmbientLayer::draw(Graphics *const graphics, const int x, if (imageHelper->useOpenGL() == RENDER_SOFTWARE || !mKeepRatio) { - graphics->drawImagePattern(mImage, static_cast(-mPosX), - static_cast(-mPosY), x + static_cast(mPosX), - y + static_cast(mPosY)); + graphics->drawPattern(mImage, static_cast(-mPosX), + static_cast(-mPosY), x + static_cast(mPosX), + y + static_cast(mPosY)); } else { - graphics->drawRescaledImagePattern(mImage, static_cast(-mPosX), + graphics->drawRescaledPattern(mImage, static_cast(-mPosX), static_cast(-mPosY), x + static_cast(mPosX), y + static_cast(mPosY), static_cast(mImage->mBounds.w) -- cgit v1.2.3-70-g09d2