summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-26 15:49:17 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-26 15:49:17 +0300
commit34877e971c6229f9ee8047e8eaa97437ad774c65 (patch)
treed630a30a6188c60f11a996b6a1043de9543c7302
parent27d22b3573a946cc4f6334e870caea9a1184a187 (diff)
downloadmv-34877e971c6229f9ee8047e8eaa97437ad774c65.tar.gz
mv-34877e971c6229f9ee8047e8eaa97437ad774c65.tar.bz2
mv-34877e971c6229f9ee8047e8eaa97437ad774c65.tar.xz
mv-34877e971c6229f9ee8047e8eaa97437ad774c65.zip
Remove SDLGraphicsVertexes because it unused.
-rw-r--r--src/render/vertexes/graphicsvertexes.cpp13
-rw-r--r--src/render/vertexes/graphicsvertexes.h12
2 files changed, 0 insertions, 25 deletions
diff --git a/src/render/vertexes/graphicsvertexes.cpp b/src/render/vertexes/graphicsvertexes.cpp
index 8c4283f6a..d2cd830af 100644
--- a/src/render/vertexes/graphicsvertexes.cpp
+++ b/src/render/vertexes/graphicsvertexes.cpp
@@ -30,20 +30,7 @@
#ifdef USE_OPENGL
unsigned int vertexBufSize = 500;
-#endif
-
-SDLGraphicsVertexes::SDLGraphicsVertexes() :
- mList()
-{
- mList.reserve(30);
-}
-SDLGraphicsVertexes::~SDLGraphicsVertexes()
-{
- delete_all(mList);
-}
-
-#ifdef USE_OPENGL
OpenGLGraphicsVertexes::OpenGLGraphicsVertexes() :
ptr(0),
mFloatTexArray(nullptr),
diff --git a/src/render/vertexes/graphicsvertexes.h b/src/render/vertexes/graphicsvertexes.h
index 0bf74355b..d9e7e1694 100644
--- a/src/render/vertexes/graphicsvertexes.h
+++ b/src/render/vertexes/graphicsvertexes.h
@@ -44,18 +44,6 @@
class Image;
-class SDLGraphicsVertexes final
-{
- public:
- SDLGraphicsVertexes();
-
- A_DELETE_COPY(SDLGraphicsVertexes)
-
- ~SDLGraphicsVertexes();
-
- std::vector<DoubleRect*> mList;
-};
-
#ifdef USE_OPENGL
class OpenGLGraphicsVertexes final
{