summaryrefslogtreecommitdiff
path: root/src/mgl.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-15 02:21:21 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-15 02:21:21 +0300
commit68c5705d5a07e58f24e4a450809f92d86e66b809 (patch)
treebf9c615a21b35b2d388c76fd4067889e7689581c /src/mgl.cpp
parent6621d3bc9efc488b60148dd45e3aa6cb291059a7 (diff)
downloadmv-68c5705d5a07e58f24e4a450809f92d86e66b809.tar.gz
mv-68c5705d5a07e58f24e4a450809f92d86e66b809.tar.bz2
mv-68c5705d5a07e58f24e4a450809f92d86e66b809.tar.xz
mv-68c5705d5a07e58f24e4a450809f92d86e66b809.zip
Exclude mgl.cpp/h file if OpenGL is disabled.
Diffstat (limited to 'src/mgl.cpp')
-rw-r--r--src/mgl.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mgl.cpp b/src/mgl.cpp
index 58e832b33..54ac6c199 100644
--- a/src/mgl.cpp
+++ b/src/mgl.cpp
@@ -20,6 +20,8 @@
#include "mgl.h"
+#ifdef USE_OPENGL
+
#include "localconsts.h"
#define defName(name) name##_t m##name = nullptr
@@ -42,3 +44,5 @@ defName(glSamplerParameteri);
#ifdef WIN32
defName(wglGetExtensionsString);
#endif
+
+#endif