diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-30 18:02:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-30 18:02:24 +0300 |
commit | 34ffeac394298fd99557f3cbbc7628413466dd4f (patch) | |
tree | ba492e0ebe0c4df5c6c2db5a4bd36eb12cf50a76 /src/graphicsmanager.cpp | |
parent | e8ee55ea0794dd985e73b26d3e889f6eda16bf3d (diff) | |
download | manaverse-34ffeac394298fd99557f3cbbc7628413466dd4f.tar.gz manaverse-34ffeac394298fd99557f3cbbc7628413466dd4f.tar.bz2 manaverse-34ffeac394298fd99557f3cbbc7628413466dd4f.tar.xz manaverse-34ffeac394298fd99557f3cbbc7628413466dd4f.zip |
Dont include GL/glx.h if x11 usage disabled.
Diffstat (limited to 'src/graphicsmanager.cpp')
-rw-r--r-- | src/graphicsmanager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp index 2c494a85a..f3442bcfc 100644 --- a/src/graphicsmanager.cpp +++ b/src/graphicsmanager.cpp @@ -35,7 +35,9 @@ #include <GL/Regal.h> #include "render/opengl/naclglfunctions.h" #else // ANDROID +#ifdef USE_X11 #include <GL/glx.h> +#endif // USE_X11 #endif // ANDROID #endif // WIN32 #endif // USE_OPENGL |