]> OCCT Git - occt-copy.git/commit
0026424: Visualization, TKOpenGl - fix text rendering in core profile
authorkgv <kgv@opencascade.com>
Mon, 20 Jul 2015 17:58:55 +0000 (20:58 +0300)
committerabv <abv@opencascade.com>
Wed, 2 Sep 2015 11:38:20 +0000 (14:38 +0300)
commit1a8e73d756acb479d6480af742755159460dbfa4
treec73dfe8291abd200c2284bc8e27532db7409cbba
parenta01037529060a01413d441e542c06fda67046414
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]