summaryrefslogtreecommitdiff
path: root/src/render
diff options
context:
space:
mode:
Diffstat (limited to 'src/render')
-rw-r--r--src/render/opengl/mgl.h1
-rw-r--r--src/render/opengl/mgltypes.h3
-rw-r--r--src/render/openglx/mglxinit.cpp1
-rw-r--r--src/render/sdl2graphics.cpp7
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