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

@ -465,7 +465,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;