summaryrefslogtreecommitdiff
path: root/src/render/nullopenglgraphics.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/render/nullopenglgraphics.cpp
parentad43ff0ddf9b0484e00db7b7f0930bad975bf21a (diff)
downloadmanaverse-8f018529676006ed744138a929fcc621694d6d75.tar.gz
manaverse-8f018529676006ed744138a929fcc621694d6d75.tar.bz2
manaverse-8f018529676006ed744138a929fcc621694d6d75.tar.xz
manaverse-8f018529676006ed744138a929fcc621694d6d75.zip
In renderers replace ImagePattern in methods into Pattern.
Diffstat (limited to 'src/render/nullopenglgraphics.cpp')
-rw-r--r--src/render/nullopenglgraphics.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/render/nullopenglgraphics.cpp b/src/render/nullopenglgraphics.cpp
index 0a831513b..0bee724ee 100644
--- a/src/render/nullopenglgraphics.cpp
+++ b/src/render/nullopenglgraphics.cpp
@@ -241,11 +241,11 @@ bool NullOpenGLGraphics::drawRescaledImage(const Image *const image,
return true;
}
-void NullOpenGLGraphics::drawImagePattern(const Image *const image,
- const int x, const int y,
- const int w, const int h)
+void NullOpenGLGraphics::drawPattern(const Image *const image,
+ const int x, const int y,
+ const int w, const int h)
{
- FUNC_BLOCK("Graphics::drawImagePattern", 1)
+ FUNC_BLOCK("Graphics::drawPattern", 1)
if (!image)
return;
@@ -373,11 +373,11 @@ void NullOpenGLGraphics::drawImagePattern(const Image *const image,
}
}
-void NullOpenGLGraphics::drawRescaledImagePattern(const Image *const image,
- const int x, const int y,
- const int w, const int h,
- const int scaledWidth,
- const int scaledHeight)
+void NullOpenGLGraphics::drawRescaledPattern(const Image *const image,
+ const int x, const int y,
+ const int w, const int h,
+ const int scaledWidth,
+ const int scaledHeight)
{
if (!image)
return;
@@ -568,10 +568,10 @@ inline void NullOpenGLGraphics::drawVertexes(const
}
}
-void NullOpenGLGraphics::calcImagePattern(ImageVertexes* const vert,
- const Image *const image,
- const int x, const int y,
- const int w, const int h) const
+void NullOpenGLGraphics::calcPattern(ImageVertexes* const vert,
+ const Image *const image,
+ const int x, const int y,
+ const int w, const int h) const
{
if (!image || !vert)
return;
@@ -739,10 +739,10 @@ void NullOpenGLGraphics::drawTileCollection(const ImageCollection
}
}
-void NullOpenGLGraphics::calcImagePattern(ImageCollection* const vertCol,
- const Image *const image,
- const int x, const int y,
- const int w, const int h) const
+void NullOpenGLGraphics::calcPattern(ImageCollection* const vertCol,
+ const Image *const image,
+ const int x, const int y,
+ const int w, const int h) const
{
ImageVertexes *vert = nullptr;
if (vertCol->currentGLImage != image->mGLImage)
@@ -758,7 +758,7 @@ void NullOpenGLGraphics::calcImagePattern(ImageCollection* const vertCol,
vert = vertCol->currentVert;
}
- calcImagePattern(vert, image, x, y, w, h);
+ calcPattern(vert, image, x, y, w, h);
}
void NullOpenGLGraphics::calcTileVertexes(ImageVertexes *const vert,