1
0
Fork 0
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:
ocornut 2015-01-11 18:27:05 +00:00
parent 51df5874a6
commit 241e8086fa
6 changed files with 21 additions and 15 deletions

View file

@ -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;