| 46 | // Prefer using '#define IMGUI_ENABLE_FREETYPE' |
| 47 | #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS |
| 48 | static inline bool BuildFontAtlas(ImFontAtlas* atlas, unsigned int flags = 0) { atlas->FontBuilderIO = GetBuilderForFreeType(); atlas->FontBuilderFlags = flags; return atlas->Build(); } |
| 49 | #endif |
| 50 | } |