Merge branch 'master' of github.com:bkaradzic/bgfx

This commit is contained in:
Branimir Karadžić 2017-03-05 16:17:13 -08:00
commit d27ff36d44

View File

@ -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;