[client] renderers: only rebuild the font atlas if marked dirty

This commit is contained in:
Geoffrey McRae
2026-07-30 12:48:30 +10:00
parent 9657ac7aa2
commit f5dee45adc
6 changed files with 35 additions and 11 deletions

View File

@@ -1157,7 +1157,7 @@ void app_registerImGuiText(const char * text)
if (!util_uiFontAddText(text))
return;
atomic_fetch_add(&g_state.lgrResize, 1);
atomic_store(&g_state.fontDirty, true);
app_invalidateOverlay(false);
}