diff options
-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; |