#pragma once #ifdef IOS #include #include #elif defined(USING_GLES2) #include #include // At least Nokia platforms need the three below #include typedef char GLchar; #define GL_BGRA_EXT 0x80E1 #else // OpenGL #include "GL/glew.h" #if defined(__APPLE__) #include #else #include #endif #endif #ifdef USING_GLES2 // Support OpenGL ES 3.0 // This uses the "DYNAMIC" approach from the gles3jni NDK sample. #include "../gfx_es2/gl3stub.h" #endif