mirror of
https://github.com/ocornut/imgui.git
synced 2025-09-06 11:28:31 +00:00
Mde it optional to new() io.Font - however it stills needs to be loaded.
This commit is contained in:
@@ -278,7 +278,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;
|
||||
|
Reference in New Issue
Block a user