mirror of
https://github.com/Drezil/imgui.git
synced 2024-11-22 20:07:01 +00:00
ImFont: Reorder field initialization to match declaration order
This commit is contained in:
parent
931bc61345
commit
b84eac53d8
@ -1694,15 +1694,15 @@ void ImFont::Clear()
|
|||||||
{
|
{
|
||||||
FontSize = 0.0f;
|
FontSize = 0.0f;
|
||||||
DisplayOffset = ImVec2(0.0f, 1.0f);
|
DisplayOffset = ImVec2(0.0f, 1.0f);
|
||||||
ConfigData = NULL;
|
|
||||||
ConfigDataCount = 0;
|
|
||||||
Ascent = Descent = 0.0f;
|
|
||||||
ContainerAtlas = NULL;
|
|
||||||
Glyphs.clear();
|
Glyphs.clear();
|
||||||
FallbackGlyph = NULL;
|
|
||||||
FallbackXAdvance = 0.0f;
|
|
||||||
IndexXAdvance.clear();
|
IndexXAdvance.clear();
|
||||||
IndexLookup.clear();
|
IndexLookup.clear();
|
||||||
|
FallbackGlyph = NULL;
|
||||||
|
FallbackXAdvance = 0.0f;
|
||||||
|
ConfigDataCount = 0;
|
||||||
|
ConfigData = NULL;
|
||||||
|
ContainerAtlas = NULL;
|
||||||
|
Ascent = Descent = 0.0f;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ImFont::BuildLookupTable()
|
void ImFont::BuildLookupTable()
|
||||||
|
Loading…
Reference in New Issue
Block a user