summaryrefslogtreecommitdiff
path: root/src/render/mobileopenglgraphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-02 21:11:48 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-02 21:11:48 +0300
commitc5ba04d8c4f303ad621bfb295a37668bc1b3bb9c (patch)
treea10646b7e9d9279df8bf2d5af7fb23a7f7f47a3f /src/render/mobileopenglgraphics.cpp
parentf1f04f512d284d12bf2c59e212800d7c24de323e (diff)
downloadmanaplus-c5ba04d8c4f303ad621bfb295a37668bc1b3bb9c.tar.gz
manaplus-c5ba04d8c4f303ad621bfb295a37668bc1b3bb9c.tar.bz2
manaplus-c5ba04d8c4f303ad621bfb295a37668bc1b3bb9c.tar.xz
manaplus-c5ba04d8c4f303ad621bfb295a37668bc1b3bb9c.zip
Rename some variables in renderers.
Diffstat (limited to 'src/render/mobileopenglgraphics.cpp')
-rw-r--r--src/render/mobileopenglgraphics.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/render/mobileopenglgraphics.cpp b/src/render/mobileopenglgraphics.cpp
index 555b8d33b..a38a291be 100644
--- a/src/render/mobileopenglgraphics.cpp
+++ b/src/render/mobileopenglgraphics.cpp
@@ -67,7 +67,7 @@
vVar[vp + 10] = static_cast<GLshort>(dstX + w); \
vVar[vp + 11] = static_cast<GLshort>(dstY + h);
-GLuint MobileOpenGLGraphics::mLastImage = 0;
+GLuint MobileOpenGLGraphics::mTextureBinded = 0;
#ifdef DEBUG_DRAW_CALLS
unsigned int MobileOpenGLGraphics::mDrawCalls = 0;
unsigned int MobileOpenGLGraphics::mLastDrawCalls = 0;
@@ -1096,7 +1096,7 @@ void MobileOpenGLGraphics::setTexturingAndBlending(const bool enable)
}
else
{
- mLastImage = 0;
+ mTextureBinded = 0;
if (mAlpha && !mColorAlpha)
{
glDisable(GL_BLEND);
@@ -1222,9 +1222,9 @@ void MobileOpenGLGraphics::drawNet(const int x1, const int y1,
void MobileOpenGLGraphics::bindTexture(const GLenum target,
const GLuint texture)
{
- if (mLastImage != texture)
+ if (mTextureBinded != texture)
{
- mLastImage = texture;
+ mTextureBinded = texture;
glBindTexture(target, texture);
}
}