occt: master c6ad5e5f

Author Committer Branch Timestamp Parent
kgv bugmaster master 2015-07-20 17:58:55 master c8bf1eb7
Affected Issues  0026424: Visualization, TKOpenGl - fix text rendering in core profile
Changeset 0026424: Visualization, TKOpenGl - fix text rendering in core profile

OpenGl_Context::init() - fix condition on initializing alien OpenGL context within core profile.
OpenGl_Font::renderGlyph() - use GL_RED data format in core profile.
OpenGl_Text::render() - do not use GL_ALPHA_TEST in core profile.

Test-case for issue 0026424
mod - src/OpenGl/OpenGl_Context.cxx Diff File
mod - src/OpenGl/OpenGl_Font.cxx Diff File
mod - src/OpenGl/OpenGl_Text.cxx Diff File
add - tests/bugs/vis/bug26424 Diff File