Browse Source

Fix asserting when drawing empty line of text.

7.0
Jeff Young 3 years ago
parent
commit
76a7a2b4bc
  1. 3
      common/gal/opengl/opengl_gal.cpp

3
common/gal/opengl/opengl_gal.cpp

@ -2684,6 +2684,9 @@ void OPENGL_GAL::DrawGlyph( const KIFONT::GLYPH& aGlyph, int aNth, int aTotal )
void OPENGL_GAL::DrawGlyphs( const std::vector<std::unique_ptr<KIFONT::GLYPH>>& aGlyphs )
{
if( aGlyphs.empty() )
return;
bool allGlyphsAreStroke = true;
bool allGlyphsAreOutline = true;

Loading…
Cancel
Save