summaryrefslogtreecommitdiff
path: root/src/render/openglx/mglxinit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/openglx/mglxinit.cpp')
-rw-r--r--src/render/openglx/mglxinit.cpp2
1 files changed, 1 insertions, 1 deletions
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)