1
0
mirror of https://github.com/Yours3lf/rpi-vk-driver.git synced 2024-12-01 13:24:20 +01:00
This commit is contained in:
yours3lf 2020-05-17 10:51:48 +01:00
parent cc894e3342
commit 964eea2342

View File

@ -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;