forked from organicmaps/organicmaps
[android] fixed for consistency with other OpenGL objects.
This commit is contained in:
parent
d67ada3929
commit
02c6dc4193
1 changed files with 2 additions and 0 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue