diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-26 15:36:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-26 15:36:32 +0300 |
commit | 27d22b3573a946cc4f6334e870caea9a1184a187 (patch) | |
tree | 4a13a769024cec6ca26c17c5a3b32e125a20cc48 /src/render/vertexes | |
parent | 7d613787059471c8e7323afd80d3d3f5764a2620 (diff) | |
download | manaverse-27d22b3573a946cc4f6334e870caea9a1184a187.tar.gz manaverse-27d22b3573a946cc4f6334e870caea9a1184a187.tar.bz2 manaverse-27d22b3573a946cc4f6334e870caea9a1184a187.tar.xz manaverse-27d22b3573a946cc4f6334e870caea9a1184a187.zip |
Move doublerect into separate file.
Diffstat (limited to 'src/render/vertexes')
-rw-r--r-- | src/render/vertexes/graphicsvertexes.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/render/vertexes/graphicsvertexes.h b/src/render/vertexes/graphicsvertexes.h index 8f54c5550..0bf74355b 100644 --- a/src/render/vertexes/graphicsvertexes.h +++ b/src/render/vertexes/graphicsvertexes.h @@ -23,7 +23,7 @@ #include "main.h" -#include "localconsts.h" +#include "resources/rect/doublerect.h" #ifdef USE_OPENGL @@ -38,17 +38,11 @@ #endif -#include <SDL_video.h> - #include <vector> -class Image; +#include "localconsts.h" -struct DoubleRect final -{ - SDL_Rect src; - SDL_Rect dst; -}; +class Image; class SDLGraphicsVertexes final { |