浏览代码

Fix for Shutdown()

ocornut 10 年之前
父节点
当前提交
d750df9189
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      imgui.cpp

+ 1 - 0
imgui.cpp

@@ -9706,6 +9706,7 @@ void    ImFontAtlas::ClearInputData()
             ImGui::MemFree(ConfigData[i].FontData);
             ConfigData[i].FontData = NULL;
         }
+    ConfigData.clear();
 }
 
 void    ImFontAtlas::ClearTexData()