mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-22 01:54:21 +00:00
Mde it optional to new() io.Font - however it stills needs to be loaded.
This commit is contained in:
parent
51df5874a6
commit
241e8086fa
6 changed files with 21 additions and 15 deletions
|
|
@ -238,7 +238,6 @@ void InitImGui()
|
|||
}
|
||||
|
||||
// Load font
|
||||
io.Font = new ImFont();
|
||||
io.Font->LoadDefault();
|
||||
//io.Font->LoadFromFileTTF("myfont.ttf", font_size_px, ImFont::GetGlyphRangesDefault());
|
||||
//io.Font->DisplayOffset.y += 0.0f;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue