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