summaryrefslogtreecommitdiff
path: root/src/render
diff options
context:
space:
mode:
Diffstat (limited to 'src/render')
-rw-r--r--src/render/graphics.h5
-rw-r--r--src/render/mobileopenglgraphics.cpp1
-rw-r--r--src/render/normalopenglgraphics.cpp1
-rw-r--r--src/render/nullopenglgraphics.cpp1
-rw-r--r--src/render/safeopenglgraphics.cpp1
-rw-r--r--src/render/sdl2graphics.cpp1
-rw-r--r--src/render/sdl2softwaregraphics.cpp1
-rw-r--r--src/render/sdlgraphics.cpp1
-rw-r--r--src/render/surfacegraphics.cpp1
9 files changed, 10 insertions, 3 deletions
diff --git a/src/render/graphics.h b/src/render/graphics.h
index d7cebec09..d26f8a770 100644
--- a/src/render/graphics.h
+++ b/src/render/graphics.h
@@ -72,11 +72,9 @@
#include "gui/color.h"
-#include "render/renderers.h"
-
#include "gui/cliprect.h"
-#include "resources/imagerect.h"
+#include "render/rendertype.h"
#ifdef USE_SDL2
#include <SDL_render.h>
@@ -97,6 +95,7 @@
class Image;
class ImageCollection;
+class ImageRect;
class ImageVertexes;
struct SDL_Window;
diff --git a/src/render/mobileopenglgraphics.cpp b/src/render/mobileopenglgraphics.cpp
index dcb34ffd5..58760ce60 100644
--- a/src/render/mobileopenglgraphics.cpp
+++ b/src/render/mobileopenglgraphics.cpp
@@ -34,6 +34,7 @@
#include "render/mgl.h"
#include "resources/image.h"
+#include "resources/imagerect.h"
#include "resources/openglimagehelper.h"
#include "utils/sdlcheckutils.h"
diff --git a/src/render/normalopenglgraphics.cpp b/src/render/normalopenglgraphics.cpp
index 7130e2914..c8fe89c89 100644
--- a/src/render/normalopenglgraphics.cpp
+++ b/src/render/normalopenglgraphics.cpp
@@ -33,6 +33,7 @@
#include "render/mgl.h"
#include "resources/image.h"
+#include "resources/imagerect.h"
#include "resources/openglimagehelper.h"
#include "utils/sdlcheckutils.h"
diff --git a/src/render/nullopenglgraphics.cpp b/src/render/nullopenglgraphics.cpp
index 866eb14a3..40a952db8 100644
--- a/src/render/nullopenglgraphics.cpp
+++ b/src/render/nullopenglgraphics.cpp
@@ -29,6 +29,7 @@
#include "graphicsvertexes.h"
#include "resources/image.h"
+#include "resources/imagerect.h"
#include "resources/openglimagehelper.h"
#include "debug.h"
diff --git a/src/render/safeopenglgraphics.cpp b/src/render/safeopenglgraphics.cpp
index fcf4a7e68..58ab99923 100644
--- a/src/render/safeopenglgraphics.cpp
+++ b/src/render/safeopenglgraphics.cpp
@@ -31,6 +31,7 @@
#include "render/mgl.h"
#include "resources/image.h"
+#include "resources/imagerect.h"
#include "resources/openglimagehelper.h"
#include "utils/sdlcheckutils.h"
diff --git a/src/render/sdl2graphics.cpp b/src/render/sdl2graphics.cpp
index 25a689ddf..38ddfe8d5 100644
--- a/src/render/sdl2graphics.cpp
+++ b/src/render/sdl2graphics.cpp
@@ -76,6 +76,7 @@
#include "resources/image.h"
#include "resources/imagehelper.h"
+#include "resources/imagerect.h"
#include "resources/sdl2imagehelper.h"
#include "utils/sdlcheckutils.h"
diff --git a/src/render/sdl2softwaregraphics.cpp b/src/render/sdl2softwaregraphics.cpp
index e5943f7c7..2efc5772e 100644
--- a/src/render/sdl2softwaregraphics.cpp
+++ b/src/render/sdl2softwaregraphics.cpp
@@ -33,6 +33,7 @@
#include "resources/image.h"
#include "resources/imagehelper.h"
+#include "resources/imagerect.h"
#include "resources/sdl2softwareimagehelper.h"
#include "utils/sdlcheckutils.h"
diff --git a/src/render/sdlgraphics.cpp b/src/render/sdlgraphics.cpp
index 8720b4dc9..3581a526d 100644
--- a/src/render/sdlgraphics.cpp
+++ b/src/render/sdlgraphics.cpp
@@ -34,6 +34,7 @@
#include "utils/sdlpixel.h"
#include "resources/image.h"
+#include "resources/imagerect.h"
#include "debug.h"
diff --git a/src/render/surfacegraphics.cpp b/src/render/surfacegraphics.cpp
index e6aee752f..2bd59889f 100644
--- a/src/render/surfacegraphics.cpp
+++ b/src/render/surfacegraphics.cpp
@@ -25,6 +25,7 @@
#include "main.h"
#include "resources/image.h"
+#include "resources/imagerect.h"
#include "resources/surfaceimagehelper.h"
#include "debug.h"