From 27d22b3573a946cc4f6334e870caea9a1184a187 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 26 Apr 2016 15:36:32 +0300 Subject: Move doublerect into separate file. --- src/render/vertexes/graphicsvertexes.h | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'src/render') 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 - #include -class Image; +#include "localconsts.h" -struct DoubleRect final -{ - SDL_Rect src; - SDL_Rect dst; -}; +class Image; class SDLGraphicsVertexes final { -- cgit v1.2.3-60-g2f50