summaryrefslogtreecommitdiff
path: root/src/render/nullopenglgraphics.cpp
diff options
context:
space:
mode:
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)