Fonts: Fixed ImFontAtlas::ClearInputData() marking atlas as not built. (#4455, #3487)

This commit is contained in:
ocornut
2021-08-24 15:28:39 +02:00
parent e652527313
commit 4a7c21d330
3 changed files with 4 additions and 3 deletions

View File

@ -1998,7 +1998,7 @@ void ImFontAtlas::ClearInputData()
ConfigData.clear();
CustomRects.clear();
PackIdMouseCursors = PackIdLines = -1;
TexReady = false;
// Important: we leave TexReady untouched
}
void ImFontAtlas::ClearTexData()