_font cache whitespace

This commit is contained in:
2023-09-10 12:52:24 +03:00
parent 479b65fab5
commit a2edead792
4 changed files with 112 additions and 126 deletions

View File

@@ -158,9 +158,7 @@ void TextRender::UpdateLayout()
// Perform layout
Array<FontLineCache> lines;
Array<FontCharacterEntry> characterEntries;
Array<int32> xAdvances;
font->ProcessText(text, lines, _layoutOptions, characterEntries, xAdvances);
font->ProcessText(text, lines, _layoutOptions);
// Prepare buffers capacity
_ib.Data.EnsureCapacity(text.Length() * 6 * sizeof(uint16));