Merge pull request #257 from laurelkeys/patch-1

Remove unused VmaAlgorithmToStr function
This commit is contained in:
Adam Sawicki 2022-04-11 11:34:08 +02:00 committed by GitHub
commit a88bc520a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3377,22 +3377,6 @@ static inline bool VmaStrIsEmpty(const char* pStr)
return pStr == VMA_NULL || *pStr == '\0';
}
#if VMA_STATS_STRING_ENABLED
static const char* VmaAlgorithmToStr(uint32_t algorithm)
{
switch (algorithm)
{
case VMA_POOL_CREATE_LINEAR_ALGORITHM_BIT:
return "Linear";
case 0:
return "TLSF";
default:
VMA_ASSERT(0);
return "";
}
}
#endif // VMA_STATS_STRING_ENABLED
#ifndef VMA_SORT
template<typename Iterator, typename Compare>
Iterator VmaQuickSortPartition(Iterator beg, Iterator end, Compare cmp)