1
0
mirror of https://github.com/Yours3lf/rpi-vk-driver.git synced 2025-03-21 12:29:15 +01:00

fixed infinite loop

This commit is contained in:
Unknown 2019-02-08 22:06:17 +00:00
parent ff143f8f55
commit 60d31572e4

View File

@ -452,6 +452,8 @@ VKAPI_ATTR VkResult VKAPI_CALL vkResetCommandPool(
while(d)
{
if(c == d) break;
d = *(uint32_t*)d;
}
if(c == d) //block is free, as we found it in the free chain