1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-17 01:04:19 +00:00

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()