Fonts: AddFont() actually does the work, so we can handle errors & return an accurate return value.
This commit is contained in:
@@ -3529,6 +3529,7 @@ struct ImFontAtlas
|
||||
IMGUI_API void Clear(); // Clear all input and output.
|
||||
|
||||
IMGUI_API void ClearCache(); // Clear cached glyphs
|
||||
IMGUI_API void BuildInit();
|
||||
|
||||
// Build atlas, retrieve pixel data.
|
||||
// User is in charge of copying the pixels into graphics memory (e.g. create a texture with your engine). Then store your texture handle with SetTexID().
|
||||
|
||||
Reference in New Issue
Block a user