summaryrefslogtreecommitdiff
path: root/src/render/openglx
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/openglx')
-rw-r--r--src/render/openglx/mglx.cpp2
-rw-r--r--src/render/openglx/mglxinit.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/render/openglx/mglx.cpp b/src/render/openglx/mglx.cpp
index 4fdc85838..73b00082b 100644
--- a/src/render/openglx/mglx.cpp
+++ b/src/render/openglx/mglx.cpp
@@ -31,4 +31,4 @@
MGLX_DEFINE
-#endif
+#endif // defined(USE_OPENGL) && defined(USE_X11)
diff --git a/src/render/openglx/mglxinit.cpp b/src/render/openglx/mglxinit.cpp
index 78a20ebf0..ffe2c5f2f 100644
--- a/src/render/openglx/mglxinit.cpp
+++ b/src/render/openglx/mglxinit.cpp
@@ -39,4 +39,4 @@ void Glx::initFunctions()
assignFunction(glXSwapBuffers);
}
-#endif
+#endif // defined(USE_OPENGL) && defined(USE_X11)