diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-17 02:24:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-17 14:55:08 +0300 |
commit | 5a322df4da3102ae0c8d3bc3071386dc5f21e580 (patch) | |
tree | 4ca0cca3328baf7484074ad6e1cf9c5a9f9e3db0 /src/graphicsmanager.h | |
parent | e6e36b25a696212f0262e3e5ef520543b1b3a58b (diff) | |
download | manaverse-5a322df4da3102ae0c8d3bc3071386dc5f21e580.tar.gz manaverse-5a322df4da3102ae0c8d3bc3071386dc5f21e580.tar.bz2 manaverse-5a322df4da3102ae0c8d3bc3071386dc5f21e580.tar.xz manaverse-5a322df4da3102ae0c8d3bc3071386dc5f21e580.zip |
Add OpenGL support for Android builds (partially).
Diffstat (limited to 'src/graphicsmanager.h')
-rw-r--r-- | src/graphicsmanager.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/graphicsmanager.h b/src/graphicsmanager.h index b16c63fbf..53de59c46 100644 --- a/src/graphicsmanager.h +++ b/src/graphicsmanager.h @@ -24,6 +24,10 @@ #include "main.h" #ifdef USE_OPENGL + +#ifdef ANDROID +#include <GLES/gl.h> +#else #define GL_GLEXT_PROTOTYPES 1 #include <SDL_opengl.h> // hack to hide warnings @@ -31,6 +35,8 @@ #undef GL_GLEXT_PROTOTYPES #endif +#endif + #include <set> #include <string> |