Explorar o código

Fix for Shutdown()

ocornut %!s(int64=10) %!d(string=hai) anos
pai
achega
d750df9189
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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()