mirror of https://github.com/axmolengine/axmol.git
Merge pull request #15885 from Sumxx/v3
fix restart game crash in FT_Get_Char_Index
This commit is contained in:
commit
b29fbf0fc8
|
@ -1008,6 +1008,7 @@ void Director::reset()
|
||||||
|
|
||||||
// purge bitmap cache
|
// purge bitmap cache
|
||||||
FontFNT::purgeCachedData();
|
FontFNT::purgeCachedData();
|
||||||
|
FontAtlasCache::purgeCachedData();
|
||||||
|
|
||||||
FontFreeType::shutdownFreeType();
|
FontFreeType::shutdownFreeType();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue