Fix asserting when drawing empty line of text.
This commit is contained in:
parent
16d5c43c14
commit
76a7a2b4bc
|
@ -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…
Reference in New Issue