diff --git a/src/video/glvideo.c b/src/video/glvideo.c index 56da60c5..885ba62b 100644 --- a/src/video/glvideo.c +++ b/src/video/glvideo.c @@ -21,13 +21,19 @@ #ifdef __APPLE__ #import +#define USE_VAO 1 #endif // TODO: implement 3D CRT object, possibly with perspective drawing? #define PERSPECTIVE 0 // VAO optimization (may not be available on all platforms) +#ifdef ANDROID +#warning YAY Awesome! Various older Android and Android-ish devices (*cough* Kindle *cough*) have buggy OpenGL VAO support, so do like Nancy and just say no #define USE_VAO 0 +#elif !defined(USE_VAO) +#define USE_VAO 1 +#endif enum { POS_ATTRIB_IDX,