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/resources/subimage.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/resources/subimage.h') diff --git a/src/resources/subimage.h b/src/resources/subimage.h index 47d8476cb..69e0debab 100644 --- a/src/resources/subimage.h +++ b/src/resources/subimage.h @@ -30,16 +30,15 @@ #ifdef USE_OPENGL -/* The definition of OpenGL extensions by SDL is giving problems with recent - * gl.h headers, since they also include these definitions. As we're not using - * extensions anyway it's safe to just disable the SDL version. - */ -//#define NO_SDL_GLEXT +#ifdef ANDROID +#include +#else #define GL_GLEXT_PROTOTYPES 1 - #include #endif +#endif + #include "resources/image.h" /** -- cgit v1.2.3-60-g2f50