mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-11 00:04:24 +00:00
Fonts: Extract ImFontAtlasBuildGetFontBaked() out of ImFont::GetFontBaked() mostly for consistency with upcoming changes + tweak locals in AddFont().
This commit is contained in:
parent
7840e453b5
commit
bcd1a94b89
4 changed files with 46 additions and 46 deletions
|
|
@ -15770,7 +15770,7 @@ void ImGui::ShowFontAtlas(ImFontAtlas* atlas)
|
|||
if (IsItemHovered())
|
||||
highlight_r_id = id;
|
||||
TableNextColumn();
|
||||
Image(atlas->TexID, ImVec2(r.w, r.h), r.uv0, r.uv1);
|
||||
Image(atlas->TexRef, ImVec2(r.w, r.h), r.uv0, r.uv1);
|
||||
}
|
||||
EndTable();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue