mirror of
https://github.com/ocornut/imgui.git
synced 2026-02-05 04:10:07 +00:00
Renamed ImBitmapFont -> ImFont, removed abstraction-pretend typedef
This commit is contained in:
parent
07a6ba8aaf
commit
df2ad5e899
4 changed files with 44 additions and 46 deletions
|
|
@ -224,7 +224,7 @@ void InitImGui()
|
|||
IM_ASSERT(tex_data != NULL);
|
||||
#else
|
||||
// Custom font from filesystem
|
||||
io.Font = new ImBitmapFont();
|
||||
io.Font = new ImFont();
|
||||
io.Font->LoadFromFile("../../extra_fonts/mplus-2m-medium_18.fnt");
|
||||
IM_ASSERT(io.Font->IsLoaded());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue