From 34877e971c6229f9ee8047e8eaa97437ad774c65 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 26 Apr 2016 15:49:17 +0300 Subject: Remove SDLGraphicsVertexes because it unused. --- src/render/vertexes/graphicsvertexes.cpp | 13 ------------- src/render/vertexes/graphicsvertexes.h | 12 ------------ 2 files changed, 25 deletions(-) (limited to 'src') 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 mList; -}; - #ifdef USE_OPENGL class OpenGLGraphicsVertexes final { -- cgit v1.2.3-70-g09d2