summaryrefslogtreecommitdiff
path: root/src/render/openglx/mglx.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/openglx/mglx.h')
-rw-r--r--src/render/openglx/mglx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/openglx/mglx.h b/src/render/openglx/mglx.h
index 1b95b0f90..b522f29b9 100644
--- a/src/render/openglx/mglx.h
+++ b/src/render/openglx/mglx.h
@@ -21,15 +21,15 @@
#ifndef RENDER_OPENGLX_MGLX_H
#define RENDER_OPENGLX_MGLX_H
-#include "main.h"
-
#if defined(USE_OPENGL) && defined(USE_X11)
#include "render/openglx/mglxtypes.h"
#define defName(name) extern name##_t m##name
#include "render/openglx/mglx.hpp"
+MGLX_DEFINE
#undef defName
+#undef MGLX_DEFINE
#endif // defined(USE_OPENGL) && defined(USE_X11)
#endif // RENDER_OPENGLX_MGLX_H