mirror of
https://github.com/Yours3lf/rpi-vk-driver.git
synced 2024-12-01 13:24:20 +01:00
backup
This commit is contained in:
parent
cc894e3342
commit
964eea2342
@ -60,6 +60,8 @@ uint32_t consecutivePoolAllocate(ConsecutivePoolAllocator* pa, uint32_t numBlock
|
||||
return -1; //no free blocks
|
||||
}
|
||||
|
||||
//TODO change strategy to search for the blocks that are located closest to the start of the buffer
|
||||
//but still are big enough in size
|
||||
for(; ptr; ptr = *ptr)
|
||||
{
|
||||
uint32_t found = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user