diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-14 17:44:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-14 17:44:37 +0300 |
commit | 9f8266d3e302a04cc862b649b2e85b7d4ccfa0a4 (patch) | |
tree | 6c40f5f489177f7a4e18b2f23b23cf70bd5f62a6 /src/render | |
parent | 9b05ab35e04fa37725f8c757e76e7d1e2ad0a3f3 (diff) | |
download | plus-9f8266d3e302a04cc862b649b2e85b7d4ccfa0a4.tar.gz plus-9f8266d3e302a04cc862b649b2e85b7d4ccfa0a4.tar.bz2 plus-9f8266d3e302a04cc862b649b2e85b7d4ccfa0a4.tar.xz plus-9f8266d3e302a04cc862b649b2e85b7d4ccfa0a4.zip |
Remove some useless includes.
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/opengl/mgl.h | 1 | ||||
-rw-r--r-- | src/render/opengl/mgltypes.h | 3 | ||||
-rw-r--r-- | src/render/openglx/mglxinit.cpp | 1 | ||||
-rw-r--r-- | src/render/sdl2graphics.cpp | 7 |
4 files changed, 2 insertions, 10 deletions
diff --git a/src/render/opengl/mgl.h b/src/render/opengl/mgl.h index 9c67687c8..8f0e55e52 100644 --- a/src/render/opengl/mgl.h +++ b/src/render/opengl/mgl.h @@ -24,7 +24,6 @@ #ifdef USE_OPENGL #include "render/opengl/mgltypes.h" -#include "render/opengl/mgldefines.h" #define defName(name) extern name##_t m##name diff --git a/src/render/opengl/mgltypes.h b/src/render/opengl/mgltypes.h index 6d034973e..6fd448c71 100644 --- a/src/render/opengl/mgltypes.h +++ b/src/render/opengl/mgltypes.h @@ -38,7 +38,8 @@ #if defined(__APPLE__) #include <OpenGL/glext.h> #else // defined(__APPLE__) -#include <GL/glext.h> +// probably this include need for some os / libs +//#include <GL/glext.h> #ifndef __glext_h_ #error missing include <GL/glext.h> #endif // __glext_h_ diff --git a/src/render/openglx/mglxinit.cpp b/src/render/openglx/mglxinit.cpp index ce40a6534..78a20ebf0 100644 --- a/src/render/openglx/mglxinit.cpp +++ b/src/render/openglx/mglxinit.cpp @@ -25,7 +25,6 @@ #include "render/opengl/mglfunctions.h" #include "render/openglx/mglx.h" -#include "render/openglx/mglxtypes.h" #include "debug.h" diff --git a/src/render/sdl2graphics.cpp b/src/render/sdl2graphics.cpp index f00846563..ce6250c7b 100644 --- a/src/render/sdl2graphics.cpp +++ b/src/render/sdl2graphics.cpp @@ -67,15 +67,10 @@ #include "render/sdl2graphics.h" -#include "main.h" - -#include "configuration.h" #include "graphicsmanager.h" -#include "logger.h" #include "render/vertexes/imagecollection.h" -#include "resources/imagehelper.h" #include "resources/imagerect.h" #include "resources/sdl2imagehelper.h" @@ -83,8 +78,6 @@ #include "utils/sdlcheckutils.h" -#include "utils/sdlpixel.h" - #include "debug.h" #ifdef DEBUG_SDL_SURFACES |