From ebefe586234d61a192fa950422b0ab58f3b5e440 Mon Sep 17 00:00:00 2001 From: Tiago Chaves Date: Sat, 9 Apr 2022 21:23:17 -0300 Subject: [PATCH] Remove unused VmaAlgorithmToStr function --- include/vk_mem_alloc.h | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/include/vk_mem_alloc.h b/include/vk_mem_alloc.h index 98aa40f..7b577c3 100644 --- a/include/vk_mem_alloc.h +++ b/include/vk_mem_alloc.h @@ -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 Iterator VmaQuickSortPartition(Iterator beg, Iterator end, Compare cmp)