summaryrefslogtreecommitdiff
path: root/src/resources/fboinfo.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-17 02:24:54 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-17 14:55:08 +0300
commit5a322df4da3102ae0c8d3bc3071386dc5f21e580 (patch)
tree4ca0cca3328baf7484074ad6e1cf9c5a9f9e3db0 /src/resources/fboinfo.h
parente6e36b25a696212f0262e3e5ef520543b1b3a58b (diff)
downloadmanaverse-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/resources/fboinfo.h')
-rw-r--r--src/resources/fboinfo.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/resources/fboinfo.h b/src/resources/fboinfo.h
index 54415e697..dcc76d435 100644
--- a/src/resources/fboinfo.h
+++ b/src/resources/fboinfo.h
@@ -28,8 +28,13 @@
#include "resources/fboinfo.h"
+#ifdef ANDROID
+#include <GLES/gl.h>
+#include <GLES/glext.h>
+#else
#include <SDL_opengl.h>
#include <GL/glext.h>
+#endif
struct FBOInfo final
{