summaryrefslogtreecommitdiff
path: root/src/render
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-05-06 19:18:09 +0300
committerAndrei Karas <akaras@inbox.ru>2016-05-06 19:18:09 +0300
commitf3d00667c5a1bffa5a04d5e86676caca6979b58d (patch)
tree8c326bea9dfeee35670ad201f39818fc1a7765bc /src/render
parentbbfe142ec3b7879bbd618f36367f95c030d65968 (diff)
downloadmanaplus-f3d00667c5a1bffa5a04d5e86676caca6979b58d.tar.gz
manaplus-f3d00667c5a1bffa5a04d5e86676caca6979b58d.tar.bz2
manaplus-f3d00667c5a1bffa5a04d5e86676caca6979b58d.tar.xz
manaplus-f3d00667c5a1bffa5a04d5e86676caca6979b58d.zip
Fix code style.
Diffstat (limited to 'src/render')
-rw-r--r--src/render/vertexes/imagecollection.cpp4
-rw-r--r--src/render/vertexes/imagecollection.h2
-rw-r--r--src/render/vertexes/imagevertexes.h2
-rw-r--r--src/render/vertexes/openglgraphicsvertexes.cpp4
4 files changed, 1 insertions, 11 deletions
diff --git a/src/render/vertexes/imagecollection.cpp b/src/render/vertexes/imagecollection.cpp
index 787fe3426..47c45b18c 100644
--- a/src/render/vertexes/imagecollection.cpp
+++ b/src/render/vertexes/imagecollection.cpp
@@ -20,10 +20,6 @@
#include "render/vertexes/imagecollection.h"
-#ifdef USE_OPENGL
-#include "render/graphics.h"
-#endif
-
#include "utils/dtor.h"
#include "debug.h"
diff --git a/src/render/vertexes/imagecollection.h b/src/render/vertexes/imagecollection.h
index e4567d85f..071499dbf 100644
--- a/src/render/vertexes/imagecollection.h
+++ b/src/render/vertexes/imagecollection.h
@@ -23,8 +23,6 @@
#include "main.h"
-#include "resources/rect/doublerect.h"
-
#include "render/vertexes/imagevertexes.h"
#include "localconsts.h"
diff --git a/src/render/vertexes/imagevertexes.h b/src/render/vertexes/imagevertexes.h
index eb6205d98..56786b421 100644
--- a/src/render/vertexes/imagevertexes.h
+++ b/src/render/vertexes/imagevertexes.h
@@ -25,8 +25,6 @@
#include "render/vertexes/openglgraphicsvertexes.h"
-#include <vector>
-
#include "localconsts.h"
class Image;
diff --git a/src/render/vertexes/openglgraphicsvertexes.cpp b/src/render/vertexes/openglgraphicsvertexes.cpp
index d111860d1..ee442355f 100644
--- a/src/render/vertexes/openglgraphicsvertexes.cpp
+++ b/src/render/vertexes/openglgraphicsvertexes.cpp
@@ -20,12 +20,10 @@
#ifdef USE_OPENGL
-#include "render/vertexes/imagecollection.h"
+#include "render/vertexes/openglgraphicsvertexes.h"
#include "render/graphics.h"
-#include "utils/dtor.h"
-
#include "debug.h"
unsigned int vertexBufSize = 500;