mirror of
https://github.com/ocornut/imgui.git
synced 2026-02-07 04:30:08 +00:00
This commit is contained in:
parent
71da34c48c
commit
10199341b1
3 changed files with 5 additions and 2 deletions
|
|
@ -2520,6 +2520,7 @@ void ImFontAtlas::ClearTexData()
|
|||
void ImFontAtlas::ClearFonts()
|
||||
{
|
||||
IM_ASSERT(!Locked && "Cannot modify a locked ImFontAtlas between NewFrame() and EndFrame/Render()!");
|
||||
ClearInputData();
|
||||
Fonts.clear_delete();
|
||||
TexReady = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue