summaryrefslogtreecommitdiff
path: root/src/render/mobileopenglgraphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-29 16:58:30 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-29 16:58:30 +0300
commit8dc331b85b78bb1e1a794f84ffb43baa4dd14b37 (patch)
tree452a714a55c1e2377d01a9e2266df3306529d5d5 /src/render/mobileopenglgraphics.cpp
parentc9f8bba932022ffd90031713c51861587f86b244 (diff)
downloadmv-8dc331b85b78bb1e1a794f84ffb43baa4dd14b37.tar.gz
mv-8dc331b85b78bb1e1a794f84ffb43baa4dd14b37.tar.bz2
mv-8dc331b85b78bb1e1a794f84ffb43baa4dd14b37.tar.xz
mv-8dc331b85b78bb1e1a794f84ffb43baa4dd14b37.zip
Remove unused variabled from mobileopenglgraphics.
Diffstat (limited to 'src/render/mobileopenglgraphics.cpp')
-rw-r--r--src/render/mobileopenglgraphics.cpp6
1 files changed, 0 insertions, 6 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];