summaryrefslogtreecommitdiff
path: root/src/render/nullopenglgraphics.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/nullopenglgraphics.cpp
parentf1f04f512d284d12bf2c59e212800d7c24de323e (diff)
downloadmv-c5ba04d8c4f303ad621bfb295a37668bc1b3bb9c.tar.gz
mv-c5ba04d8c4f303ad621bfb295a37668bc1b3bb9c.tar.bz2
mv-c5ba04d8c4f303ad621bfb295a37668bc1b3bb9c.tar.xz
mv-c5ba04d8c4f303ad621bfb295a37668bc1b3bb9c.zip
Rename some variables in renderers.
Diffstat (limited to 'src/render/nullopenglgraphics.cpp')
-rw-r--r--src/render/nullopenglgraphics.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/render/nullopenglgraphics.cpp b/src/render/nullopenglgraphics.cpp
index 2c4d9f211..7cd6456ec 100644
--- a/src/render/nullopenglgraphics.cpp
+++ b/src/render/nullopenglgraphics.cpp
@@ -38,7 +38,7 @@
#include "debug.h"
-GLuint NullOpenGLGraphics::mLastImage = 0;
+GLuint NullOpenGLGraphics::mTextureBinded = 0;
#ifdef DEBUG_DRAW_CALLS
unsigned int NullOpenGLGraphics::mDrawCalls = 0;
unsigned int NullOpenGLGraphics::mLastDrawCalls = 0;
@@ -1021,7 +1021,7 @@ void NullOpenGLGraphics::setTexturingAndBlending(const bool enable)
}
else
{
- mLastImage = 0;
+ mTextureBinded = 0;
if (mAlpha && !mColorAlpha)
mAlpha = false;
else if (!mAlpha && mColorAlpha)
@@ -1099,8 +1099,8 @@ void NullOpenGLGraphics::drawNet(const int x1, const int y1,
void NullOpenGLGraphics::bindTexture(const GLenum target A_UNUSED,
const GLuint texture)
{
- if (mLastImage != texture)
- mLastImage = texture;
+ if (mTextureBinded != texture)
+ mTextureBinded = texture;
}
inline void NullOpenGLGraphics::drawQuadArrayfi(const int size A_UNUSED)