Browse Source

Fix for Shutdown()

ocornut 10 năm trước cách đây
mục cha
commit
d750df9189
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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()