Skip to content

Commit a88bc52

Browse files
Merge pull request #257 from laurelkeys/patch-1
Remove unused VmaAlgorithmToStr function
2 parents df76480 + ebefe58 commit a88bc52

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

include/vk_mem_alloc.h

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3377,22 +3377,6 @@ static inline bool VmaStrIsEmpty(const char* pStr)
33773377
return pStr == VMA_NULL || *pStr == '\0';
33783378
}
33793379

3380-
#if VMA_STATS_STRING_ENABLED
3381-
static const char* VmaAlgorithmToStr(uint32_t algorithm)
3382-
{
3383-
switch (algorithm)
3384-
{
3385-
case VMA_POOL_CREATE_LINEAR_ALGORITHM_BIT:
3386-
return "Linear";
3387-
case 0:
3388-
return "TLSF";
3389-
default:
3390-
VMA_ASSERT(0);
3391-
return "";
3392-
}
3393-
}
3394-
#endif // VMA_STATS_STRING_ENABLED
3395-
33963380
#ifndef VMA_SORT
33973381
template<typename Iterator, typename Compare>
33983382
Iterator VmaQuickSortPartition(Iterator beg, Iterator end, Compare cmp)

0 commit comments

Comments
 (0)