mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-09 23:54:20 +00:00
Fonts: fixed broken support for legacy backend due to a mismatch with initial pre-build baked id.
This commit is contained in:
parent
65e6039979
commit
fad5280d4c
3 changed files with 3 additions and 2 deletions
|
|
@ -3002,6 +3002,7 @@ ImFont* ImFontAtlas::AddFont(const ImFontConfig* font_cfg_in)
|
|||
font->FontId = FontNextUniqueID++;
|
||||
font->Flags = font_cfg_in->Flags;
|
||||
font->DefaultSize = font_cfg_in->SizePixels;
|
||||
font->CurrentRasterizerDensity = font_cfg_in->RasterizerDensity;
|
||||
Fonts.push_back(font);
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue