_font cache allocations

This commit is contained in:
2025-04-28 23:02:54 +03:00
parent 00fbb73825
commit 96d35acefd
4 changed files with 13 additions and 13 deletions

View File

@@ -176,7 +176,7 @@ void TextRender::UpdateLayout()
int32 kerning;
// Perform layout
Array<FontLineCache> lines;
Array<FontLineCache, InlinedAllocation<8>> lines;
font->ProcessText(text, lines, _layoutOptions);
// Prepare buffers capacity