diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-26 15:49:17 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-26 15:49:17 +0300 |
commit | 34877e971c6229f9ee8047e8eaa97437ad774c65 (patch) | |
tree | d630a30a6188c60f11a996b6a1043de9543c7302 /src/render/vertexes | |
parent | 27d22b3573a946cc4f6334e870caea9a1184a187 (diff) | |
download | manaverse-34877e971c6229f9ee8047e8eaa97437ad774c65.tar.gz manaverse-34877e971c6229f9ee8047e8eaa97437ad774c65.tar.bz2 manaverse-34877e971c6229f9ee8047e8eaa97437ad774c65.tar.xz manaverse-34877e971c6229f9ee8047e8eaa97437ad774c65.zip |
Remove SDLGraphicsVertexes because it unused.
Diffstat (limited to 'src/render/vertexes')
-rw-r--r-- | src/render/vertexes/graphicsvertexes.cpp | 13 | ||||
-rw-r--r-- | src/render/vertexes/graphicsvertexes.h | 12 |
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 { |