mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-18 04:53:06 +01:00
Merge branch 'master' of github.com:bkaradzic/bgfx
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user