mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-29 03:00:05 +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
|
|
@ -187,7 +187,6 @@ void InitImGui()
|
|||
io.GetClipboardTextFn = ImImpl_GetClipboardTextFn;
|
||||
|
||||
// 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