From 8dc331b85b78bb1e1a794f84ffb43baa4dd14b37 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 29 Dec 2013 16:58:30 +0300 Subject: Remove unused variabled from mobileopenglgraphics. --- src/render/mobileopenglgraphics.cpp | 6 ------ src/render/mobileopenglgraphics.h | 2 -- 2 files changed, 8 deletions(-) (limited to 'src') 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; -- cgit v1.2.3-60-g2f50