From 5a322df4da3102ae0c8d3bc3071386dc5f21e580 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 17 Oct 2012 02:24:54 +0300 Subject: Add OpenGL support for Android builds (partially). --- src/safeopenglgraphics.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/safeopenglgraphics.h') diff --git a/src/safeopenglgraphics.h b/src/safeopenglgraphics.h index 44c15545f..81494d5bd 100644 --- a/src/safeopenglgraphics.h +++ b/src/safeopenglgraphics.h @@ -30,11 +30,14 @@ #include "resources/fboinfo.h" -//#define NO_SDL_GLEXT +#ifdef ANDROID +#include +#include +#else #define GL_GLEXT_PROTOTYPES 1 - #include #include +#endif class SafeOpenGLGraphics final : public Graphics { -- cgit v1.2.3-70-g09d2