0026424: Visualization, TKOpenGl - fix text rendering in core profile
authorkgv <kgv@opencascade.com>
Mon, 20 Jul 2015 17:58:55 +0000 (20:58 +0300)
committerbugmaster <bugmaster@opencascade.com>
Mon, 20 Jul 2015 18:02:57 +0000 (21:02 +0300)
commitc6ad5e5f39b987a2df08d2e738bb9dd527aa0247
tree68c8be47f718c2e66568c4ccb3a472a13a121290
parentc8bf1eb7470b8d78ecb19bb65c9e327c3b11230d
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 #26424
src/OpenGl/OpenGl_Context.cxx
src/OpenGl/OpenGl_Font.cxx
src/OpenGl/OpenGl_Text.cxx
tests/bugs/vis/bug26424 [new file with mode: 0644]