_font whiteline skip fix
This commit is contained in:
@@ -1411,7 +1411,7 @@ void Render2D::DrawText(Font* font, const StringView& text, const Color& color,
|
||||
for (int32 charIndex = line.FirstCharIndex; charIndex < line.LastCharIndex; charIndex++)
|
||||
{
|
||||
const Char c = text[charIndex];
|
||||
const FontLineCharacterCache& characterCache = CharacterCache[entryIndex];
|
||||
const FontLineCharacterCache& characterCache = CharacterCache[charIndex];
|
||||
const FontCharacterEntry& entry = characterCache.Entry;
|
||||
|
||||
pointer += advanceDirX * (float)characterCache.Kerning;
|
||||
|
||||
Reference in New Issue
Block a user