Remove unneeded extra parameter from ImFont::FindGlyph()

This commit is contained in:
ocornut
2014-11-29 00:04:05 +00:00
parent e4a79e9fc8
commit e9aead09cb
2 changed files with 7 additions and 7 deletions

View File

@ -726,7 +726,7 @@ struct ImFont
IMGUI_API bool LoadFromFile(const char* filename);
IMGUI_API void Clear();
IMGUI_API void BuildLookupTable();
IMGUI_API const FntGlyph* FindGlyph(unsigned short c, const FntGlyph* fallback = NULL) const;
IMGUI_API const FntGlyph* FindGlyph(unsigned short c) const;
IMGUI_API float GetFontSize() const { return (float)Info->FontSize; } // before scale!
IMGUI_API bool IsLoaded() const { return Info != NULL && Common != NULL && Glyphs != NULL; }