summaryrefslogtreecommitdiff
path: root/src/render/opengl/mgl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/opengl/mgl.cpp')
-rw-r--r--src/render/opengl/mgl.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/render/opengl/mgl.cpp b/src/render/opengl/mgl.cpp
index d65ac3ec6..cdcd5808b 100644
--- a/src/render/opengl/mgl.cpp
+++ b/src/render/opengl/mgl.cpp
@@ -18,10 +18,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "render/opengl/mgl.h"
-
#ifdef USE_OPENGL
+#include "render/opengl/mgl.h"
+
#include "debug.h"
#define defName(name) name##_t m##name = nullptr
@@ -29,4 +29,6 @@
// include function defines
#include "render/opengl/mgl.hpp"
+MGL_DEFINE
+
#endif