Fixed bug with extensions count, resulting in regeneration of bank metas every time

This commit is contained in:
Xiao Qi 2023-03-07 01:31:23 +08:00
parent 5e6b68915b
commit 6911ad0d2b
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ constexpr std::string_view EXTENSIONS[] = {
AUDIO_BANK_EXTENSION
};
constexpr size_t EXTENSIONS_COUNT{ 11 };
constexpr size_t EXTENSIONS_COUNT{ static_cast<size_t>(AssetType::MAX_COUNT) };
// EXTERNAL EXTENSIONS
constexpr std::string_view GLSL_EXTENSION{ ".glsl" };