Fonts: fixed calling AddFontXXX not invalidating texture for legacy backends.

This commit is contained in:
ocornut
2025-03-26 14:38:49 +01:00
parent 44498825cd
commit 9324961cd2

View File

@@ -3580,6 +3580,7 @@ bool ImFontAtlasBuildAddFont(ImFontAtlas* atlas, ImFontConfig* src)
if (!loader->FontSrcInit(atlas, src))
return false;
atlas->TexIsBuilt = false; // For legacy backends
ImFontAtlasBuildSetupFontSpecialGlyphs(atlas, font, src);
return true;
}