mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2025-05-14 08:48:32 +00:00
A fix in VmaBlockMetadata_TLSF::CreateAllocationRequest
Code by @medranSolus. See #343
This commit is contained in:
parent
0e89587db3
commit
59734bbc63
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue