summaryrefslogtreecommitdiff
path: root/src/render/opengl/mgl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/opengl/mgl.h')
-rw-r--r--src/render/opengl/mgl.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/render/opengl/mgl.h b/src/render/opengl/mgl.h
index 07c5b7cf7..9c67687c8 100644
--- a/src/render/opengl/mgl.h
+++ b/src/render/opengl/mgl.h
@@ -21,8 +21,6 @@
#ifndef RENDER_OPENGL_MGL_H
#define RENDER_OPENGL_MGL_H
-#include "main.h"
-
#ifdef USE_OPENGL
#include "render/opengl/mgltypes.h"
@@ -32,7 +30,10 @@
#include "render/opengl/mgl.hpp"
+MGL_DEFINE
+
#undef defName
+#undef MGL_DEFINE
#endif // USE_OPENGL
#endif // RENDER_OPENGL_MGL_H