diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-29 16:58:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-29 16:58:30 +0300 |
commit | 8dc331b85b78bb1e1a794f84ffb43baa4dd14b37 (patch) | |
tree | 452a714a55c1e2377d01a9e2266df3306529d5d5 /src/render | |
parent | c9f8bba932022ffd90031713c51861587f86b244 (diff) | |
download | manaplus-8dc331b85b78bb1e1a794f84ffb43baa4dd14b37.tar.gz manaplus-8dc331b85b78bb1e1a794f84ffb43baa4dd14b37.tar.bz2 manaplus-8dc331b85b78bb1e1a794f84ffb43baa4dd14b37.tar.xz manaplus-8dc331b85b78bb1e1a794f84ffb43baa4dd14b37.zip |
Remove unused variabled from mobileopenglgraphics.
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/mobileopenglgraphics.cpp | 6 | ||||
-rw-r--r-- | src/render/mobileopenglgraphics.h | 2 |
2 files changed, 0 insertions, 8 deletions
diff --git a/src/render/mobileopenglgraphics.cpp b/src/render/mobileopenglgraphics.cpp index df11dae0a..18043ff06 100644 --- a/src/render/mobileopenglgraphics.cpp +++ b/src/render/mobileopenglgraphics.cpp @@ -46,8 +46,6 @@ unsigned int MobileOpenGLGraphics::mLastDrawCalls = 0; MobileOpenGLGraphics::MobileOpenGLGraphics(): mFloatTexArray(nullptr), - mIntTexArray(nullptr), - mIntVertArray(nullptr), mShortVertArray(nullptr), mFloatTexArrayCached(nullptr), mShortVertArrayCached(nullptr), @@ -73,8 +71,6 @@ MobileOpenGLGraphics::MobileOpenGLGraphics(): MobileOpenGLGraphics::~MobileOpenGLGraphics() { delete [] mFloatTexArray; - delete [] mIntTexArray; - delete [] mIntVertArray; delete [] mShortVertArray; delete [] mFloatTexArrayCached; delete [] mShortVertArrayCached; @@ -92,8 +88,6 @@ void MobileOpenGLGraphics::initArrays() const int sz = mMaxVertices * 4 + 30; vertexBufSize = mMaxVertices; mFloatTexArray = new GLfloat[sz]; - mIntTexArray = new GLint[sz]; - mIntVertArray = new GLint[sz]; mShortVertArray = new GLshort[sz]; mFloatTexArrayCached = new GLfloat[sz]; mShortVertArrayCached = new GLshort[sz]; diff --git a/src/render/mobileopenglgraphics.h b/src/render/mobileopenglgraphics.h index dbee649d0..447415823 100644 --- a/src/render/mobileopenglgraphics.h +++ b/src/render/mobileopenglgraphics.h @@ -228,8 +228,6 @@ class MobileOpenGLGraphics final : public Graphics void inline restoreColor(); GLfloat *mFloatTexArray; - GLint *mIntTexArray; - GLint *mIntVertArray; GLshort *mShortVertArray; GLfloat *mFloatTexArrayCached; GLshort *mShortVertArrayCached; |