diff options
author | ExMix <rahuba.youri@mapswithme.com> | 2014-01-10 13:54:58 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:10:00 +0300 |
commit | 0f0d79fc260bd4456384af0ac10f9f7bc6e429ca (patch) | |
tree | ed6368655aee50214f7a12bcfc7a36a9b6f1ba2c /drape/glextensions_list.cpp | |
parent | dd1d2ad6a931772a485f078e9fb1b84dd9dd4d42 (diff) |
[drape] chanche name of VAO extension on Mac
Diffstat (limited to 'drape/glextensions_list.cpp')
-rw-r--r-- | drape/glextensions_list.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drape/glextensions_list.cpp b/drape/glextensions_list.cpp index a52cb8120b..6197fb6ce8 100644 --- a/drape/glextensions_list.cpp +++ b/drape/glextensions_list.cpp @@ -57,7 +57,11 @@ GLExtensionsList::GLExtensionsList() : m_impl(new Impl()) { +#if defined(OMIM_OS_MOBILE) m_impl->CheckExtension(VertexArrayObject, "GL_OES_vertex_array_object"); +#else + m_impl->CheckExtension(VertexArrayObject, "GL_APPLE_vertex_array_object"); +#endif } GLExtensionsList::~GLExtensionsList() |