mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
synced 2024-11-05 04:10:06 +00:00
A fix in VmaBlockMetadata_TLSF::CreateAllocationRequest
Code by @medranSolus. See #343
This commit is contained in:
parent
0e89587db3
commit
59734bbc63
@ -10295,8 +10295,8 @@ bool VmaBlockMetadata_TLSF::CreateAllocationRequest(
|
||||
else
|
||||
sizeForNextList += smallSizeStep;
|
||||
|
||||
uint32_t nextListIndex = 0;
|
||||
uint32_t prevListIndex = 0;
|
||||
uint32_t nextListIndex = m_ListsCount;
|
||||
uint32_t prevListIndex = m_ListsCount;
|
||||
Block* nextListBlock = VMA_NULL;
|
||||
Block* prevListBlock = VMA_NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user