mirror of
https://github.com/Yours3lf/rpi-vk-driver.git
synced 2025-03-02 02:29: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
|
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)
|
for(; ptr; ptr = *ptr)
|
||||||
{
|
{
|
||||||
uint32_t found = 1;
|
uint32_t found = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user