mirror of
https://github.com/Drezil/imgui.git
synced 2024-11-15 01:17:00 +00:00
Fixed uninitialised fields in ImBitmapFont (were unused when uninitialised, but still dodgy)
This commit is contained in:
parent
681ac5f777
commit
5f6b261c9b
@ -5030,11 +5030,14 @@ void ImDrawList::AddText(ImFont font, float font_size, const ImVec2& pos, ImU32
|
||||
ImBitmapFont::ImBitmapFont()
|
||||
{
|
||||
Data = NULL;
|
||||
DataSize = 0;
|
||||
DataOwned = false;
|
||||
Info = NULL;
|
||||
Common = NULL;
|
||||
Glyphs = NULL;
|
||||
GlyphsCount = 0;
|
||||
Kerning = NULL;
|
||||
KerningCount = 0;
|
||||
TabCount = 4;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user