Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Zolotarev <alex@mapswithme.com>2013-06-20 18:55:38 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:56:47 +0300
commit47874ad755f06cfa2f6796e5fac31306b247a44f (patch)
treecd6ffd227f23e65a85829200179009ddfac26c76 /graphics
parentf61b90a832be64f243ecf931213d3fe6c4e8a852 (diff)
[ios] Fixed compilation error
Diffstat (limited to 'graphics')
-rw-r--r--graphics/opengl/opengl.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/opengl/opengl.hpp b/graphics/opengl/opengl.hpp
index 0b06e04fd9..7b14a5e2f6 100644
--- a/graphics/opengl/opengl.hpp
+++ b/graphics/opengl/opengl.hpp
@@ -18,12 +18,13 @@
#elif defined(OMIM_OS_MAC) || defined(OMIM_OS_IPHONE)
#include <TargetConditionals.h>
+ #include <Availability.h>
#ifdef OMIM_OS_IPHONE
#define USE_OPENGLES20_IF_AVAILABLE 1
#include <OpenGLES/ES2/gl.h>
#define OMIM_GL_ES
- #if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_7_0
+ #if __IPHONE_OS_VERSION_MAX_ALLOWED > __IPHONE_6_1
#define NEED_OPENGL_SHADERSOURCE_CONST
#endif
#else