improve assets_manager_clear_cache_ex

This commit is contained in:
lixianjing 2023-08-21 16:24:02 +08:00
parent 2ec126c504
commit dbb805eaa4
2 changed files with 3 additions and 1 deletions

View File

@ -6,7 +6,8 @@
* 增加函数tk\_to\_utf8\_argv
* 增加函数tk\_free\_utf8\_argv
* 增加宏MAIN/END\_MAIN
* 完善Windows平台初始化让Console输出支持UTF8。
* 完善Windows平台初始化让Console输出支持UTF8
* 卸载资源缓存失败的问题(感谢雨欣提供补丁)
2023/08/16
* 增加函数str\_equal/wstr\_eq/wstr\_create/wstr\_destroy/wstr\_append\_more等函数

View File

@ -785,6 +785,7 @@ ret_t assets_manager_clear_cache_ex(assets_manager_t* am, asset_type_t type, con
return RET_NOT_FOUND;
}
info.type = type;
asset_info_set_name(&info, name, FALSE);
size = am->assets.size;