GL: Fixed text rendering.

This commit is contained in:
Branimir Karadžić 2015-11-06 21:30:08 -08:00
parent 539353b7cb
commit d46b05500b

View file

@ -2333,6 +2333,12 @@ namespace bgfx { namespace gl
GL_CHECK(glActiveTexture(GL_TEXTURE0) );
GL_CHECK(glBindTexture(GL_TEXTURE_2D, m_textures[_blitter.m_texture.idx].m_id) );
if (BX_ENABLED(BGFX_CONFIG_RENDERER_OPENGL)
|| BX_ENABLED(BGFX_CONFIG_RENDERER_OPENGLES >= 30) )
{
GL_CHECK(glBindSampler(0, 0) );
}
}
void blitRender(TextVideoMemBlitter& _blitter, uint32_t _numIndices) BX_OVERRIDE