1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-09 23:54:20 +00:00

Fonts: ImFontAtlasFontRebuildOutput() helper.

This commit is contained in:
ocornut 2025-12-22 19:57:21 +01:00
parent d365417e8b
commit d1de937c31
2 changed files with 7 additions and 0 deletions

View file

@ -3607,6 +3607,12 @@ void ImFontAtlasFontDestroyOutput(ImFontAtlas* atlas, ImFont* font)
}
}
void ImFontAtlasFontRebuildOutput(ImFontAtlas* atlas, ImFont* font)
{
ImFontAtlasFontDestroyOutput(atlas, font);
ImFontAtlasFontInitOutput(atlas, font);
}
//-----------------------------------------------------------------------------------------------------------------------------
bool ImFontAtlasFontSourceInit(ImFontAtlas* atlas, ImFontConfig* src)