diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-15 02:21:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-15 02:21:21 +0300 |
commit | 68c5705d5a07e58f24e4a450809f92d86e66b809 (patch) | |
tree | bf9c615a21b35b2d388c76fd4067889e7689581c /src/mgl.h | |
parent | 6621d3bc9efc488b60148dd45e3aa6cb291059a7 (diff) | |
download | plus-68c5705d5a07e58f24e4a450809f92d86e66b809.tar.gz plus-68c5705d5a07e58f24e4a450809f92d86e66b809.tar.bz2 plus-68c5705d5a07e58f24e4a450809f92d86e66b809.tar.xz plus-68c5705d5a07e58f24e4a450809f92d86e66b809.zip |
Exclude mgl.cpp/h file if OpenGL is disabled.
Diffstat (limited to 'src/mgl.h')
-rw-r--r-- | src/mgl.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -21,6 +21,9 @@ #ifndef MGL_H #define MGL_H +#include "main.h" +#ifdef USE_OPENGL + #define GL_GLEXT_PROTOTYPES 1 #include <SDL_opengl.h> @@ -79,3 +82,4 @@ defNameE(wglGetExtensionsString); #endif #endif +#endif |