diff options
Diffstat (limited to 'drape/glIncludes.hpp')
-rw-r--r-- | drape/glIncludes.hpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drape/glIncludes.hpp b/drape/glIncludes.hpp index 5f87f1670e..b47df3e85a 100644 --- a/drape/glIncludes.hpp +++ b/drape/glIncludes.hpp @@ -3,9 +3,8 @@ #include "std/target_os.hpp" #if defined(OMIM_OS_IPHONE) - #define USE_OPENGLES20_IF_AVAILABLE 1 - #include <OpenGLES/ES2/gl.h> #include <OpenGLES/ES2/glext.h> + #include <OpenGLES/ES3/gl.h> #elif defined(OMIM_OS_MAC) #include <OpenGL/gl.h> #include <OpenGL/glext.h> @@ -15,10 +14,10 @@ #include <GL/gl.h> #include "3party/GL/glext.h" #elif defined(OMIM_OS_ANDROID) - #include <EGL/egl.h> - #include <GLES2/gl2.h> #define GL_GLEXT_PROTOTYPES #include <GLES2/gl2ext.h> + #include "android/jni/com/mapswithme/opengl/gl3stub.h" + #include <EGL/egl.h> #else #define GL_GLEXT_PROTOTYPES #include <GL/gl.h> |