mirror of
https://github.com/ocornut/imgui.git
synced 2025-04-07 22:43:09 +00:00
WIP - Fonts: fixed calling AddFontXXX not invalidating texture for legacy backends.
This commit is contained in:
parent
0a11bb7b8e
commit
13c25ceadf
1 changed files with 1 additions and 0 deletions
|
@ -3583,6 +3583,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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue