summaryrefslogtreecommitdiff
path: root/src/render
diff options
context:
space:
mode:
Diffstat (limited to 'src/render')
-rw-r--r--src/render/graphics.cpp2
-rw-r--r--src/render/openglx/mglx.cpp (renamed from src/render/mglx.cpp)4
-rw-r--r--src/render/openglx/mglx.h (renamed from src/render/mglx.h)10
-rw-r--r--src/render/openglx/mglx.hpp (renamed from src/render/mglx.hpp)0
-rw-r--r--src/render/openglx/mglxinit.cpp (renamed from src/render/mglxinit.cpp)8
-rw-r--r--src/render/openglx/mglxinit.h (renamed from src/render/mglxinit.h)6
-rw-r--r--src/render/openglx/mglxtypes.h (renamed from src/render/mglxtypes.h)6
7 files changed, 18 insertions, 18 deletions
diff --git a/src/render/graphics.cpp b/src/render/graphics.cpp
index d43c8bdc8..127a54bc4 100644
--- a/src/render/graphics.cpp
+++ b/src/render/graphics.cpp
@@ -71,7 +71,7 @@
#endif
#if defined(USE_OPENGL) && defined(USE_X11)
-#include "render/mglxinit.h"
+#include "render/openglx/mglxinit.h"
#endif
#include "resources/imagehelper.h"
diff --git a/src/render/mglx.cpp b/src/render/openglx/mglx.cpp
index 38821152a..773192423 100644
--- a/src/render/mglx.cpp
+++ b/src/render/openglx/mglx.cpp
@@ -18,7 +18,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "render/mglx.h"
+#include "render/openglx/mglx.h"
#if defined(USE_OPENGL) && defined(USE_X11)
@@ -27,6 +27,6 @@
#define defName(name) name##_t m##name = nullptr
// include function defines
-#include "render/mglx.hpp"
+#include "render/openglx/mglx.hpp"
#endif
diff --git a/src/render/mglx.h b/src/render/openglx/mglx.h
index 575041a94..591626bca 100644
--- a/src/render/mglx.h
+++ b/src/render/openglx/mglx.h
@@ -18,18 +18,18 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef RENDER_MGLX_H
-#define RENDER_MGLX_H
+#ifndef RENDER_OPENGLX_MGLX_H
+#define RENDER_OPENGLX_MGLX_H
#include "main.h"
#if defined(USE_OPENGL) && defined(USE_X11)
-#include "render/mglxtypes.h"
+#include "render/openglx/mglxtypes.h"
#define defName(name) extern name##_t m##name
-#include "render/mglx.hpp"
+#include "render/openglx/mglx.hpp"
#undef defName
#endif // defined(USE_OPENGL) && defined(USE_X11)
-#endif // RENDER_MGLX_H
+#endif // RENDER_OPENGLX_MGLX_H
diff --git a/src/render/mglx.hpp b/src/render/openglx/mglx.hpp
index b62dd25f4..b62dd25f4 100644
--- a/src/render/mglx.hpp
+++ b/src/render/openglx/mglx.hpp
diff --git a/src/render/mglxinit.cpp b/src/render/openglx/mglxinit.cpp
index 86d8b8d69..09ab8d4fe 100644
--- a/src/render/mglxinit.cpp
+++ b/src/render/openglx/mglxinit.cpp
@@ -18,15 +18,15 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "render/mglxinit.h"
+#include "render/openglx/mglxinit.h"
#if defined(USE_OPENGL) && defined(USE_X11)
-#include "render/mglx.h"
-#include "render/mglxtypes.h"
-
#include "render/opengl/mglfunctions.h"
+#include "render/openglx/mglx.h"
+#include "render/openglx/mglxtypes.h"
+
#include "debug.h"
void Glx::initFunctions()
diff --git a/src/render/mglxinit.h b/src/render/openglx/mglxinit.h
index 7d9503299..512efdf7e 100644
--- a/src/render/mglxinit.h
+++ b/src/render/openglx/mglxinit.h
@@ -18,8 +18,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef RENDER_MGLXINIT_H
-#define RENDER_MGLXINIT_H
+#ifndef RENDER_OPENGLX_MGLXINIT_H
+#define RENDER_OPENGLX_MGLXINIT_H
#include "main.h"
#if defined(USE_OPENGL) && defined(USE_X11)
@@ -30,4 +30,4 @@ namespace Glx
} // namespace Glx
#endif // defined(USE_OPENGL) && defined(USE_X11)
-#endif // RENDER_MGLXINIT_H
+#endif // RENDER_OPENGLX_MGLXINIT_H
diff --git a/src/render/mglxtypes.h b/src/render/openglx/mglxtypes.h
index c639a7d80..79b4afd7a 100644
--- a/src/render/mglxtypes.h
+++ b/src/render/openglx/mglxtypes.h
@@ -18,8 +18,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef RENDER_MGLXTYPES_H
-#define RENDER_MGLXTYPES_H
+#ifndef RENDER_OPENGLX_MGLXTYPES_H
+#define RENDER_OPENGLX_MGLXTYPES_H
#include "main.h"
@@ -48,4 +48,4 @@ typedef bool (*glXMakeCurrent_t) (Display *dpy,
typedef void (*glXSwapBuffers_t) (Display *dpy, GLXDrawable drawable);
#endif // USE_OPENGL
-#endif // RENDER_MGLXTYPES_H
+#endif // RENDER_OPENGLX_MGLXTYPES_H