diff --git a/yg/base_texture.cpp b/yg/base_texture.cpp index 59e1f7c786..b73f566c04 100644 --- a/yg/base_texture.cpp +++ b/yg/base_texture.cpp @@ -84,9 +84,9 @@ namespace yg return; } -#ifndef OMIM_OS_ANDROID +/*#ifndef OMIM_OS_ANDROID if (current() != m_id) -#endif +#endif*/ OGLCHECK(glBindTexture(GL_TEXTURE_2D, m_id)); } diff --git a/yg/indexbuffer.cpp b/yg/indexbuffer.cpp index c68099bb15..fa050f6657 100644 --- a/yg/indexbuffer.cpp +++ b/yg/indexbuffer.cpp @@ -129,9 +129,9 @@ namespace yg if (m_useVA) return; -#ifndef OMIM_OS_ANDROID +/*#ifndef OMIM_OS_ANDROID if (m_id != current()) -#endif +#endif*/ OGLCHECK(glBindBufferFn(GL_ELEMENT_ARRAY_BUFFER, m_id)); } diff --git a/yg/vertexbuffer.cpp b/yg/vertexbuffer.cpp index 210e5d962d..f86465335a 100644 --- a/yg/vertexbuffer.cpp +++ b/yg/vertexbuffer.cpp @@ -140,9 +140,9 @@ namespace yg if (m_useVA) return; -#ifndef OMIM_OS_ANDROID +/*#ifndef OMIM_OS_ANDROID if (m_id != current()) -#endif +#endif*/ OGLCHECK(glBindBufferFn(GL_ARRAY_BUFFER, m_id)); }