mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-31 21:21:06 +01:00 
			
		
		
		
	Fixed uninitialised fields in ImBitmapFont (were unused when uninitialised, but still dodgy)
This commit is contained in:
		| @@ -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; | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user