diff --git a/examples/common/font/text_metrics.cpp b/examples/common/font/text_metrics.cpp index 0b2d71e0e..835c9e141 100644 --- a/examples/common/font/text_metrics.cpp +++ b/examples/common/font/text_metrics.cpp @@ -51,7 +51,6 @@ void TextMetrics::appendText(FontHandle _fontHandle, const char* _string) m_lineGap = font.lineGap; m_lineHeight = font.ascender - font.descender; m_x = 0; - break; } m_x += glyph->advance_x; @@ -98,7 +97,6 @@ void TextMetrics::appendText(FontHandle _fontHandle, const wchar_t* _string) m_lineGap = font.lineGap; m_lineHeight = font.ascender - font.descender; m_x = 0; - break; } m_x += glyph->advance_x;