[android] fixed for consistency with other OpenGL objects.

This commit is contained in:
rachytski 2012-02-04 16:15:46 +04:00 committed by Alex Zolotarev
parent d67ada3929
commit 02c6dc4193

View file

@ -81,7 +81,9 @@ namespace yg
if (queue)
queue->processFn(bind(&BaseTexture::makeCurrent, this, (yg::gl::PacketsQueue*)0));
#ifndef OMIM_OS_ANDROID
if (current() != m_id)
#endif
OGLCHECK(glBindTexture(GL_TEXTURE_2D, m_id));
}