From 60d31572e4c1732f2276ec705901da60fcc673f6 Mon Sep 17 00:00:00 2001 From: Unknown <0.tamas.marton@gmail.com> Date: Fri, 8 Feb 2019 22:06:17 +0000 Subject: [PATCH] fixed infinite loop --- driver/command.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/driver/command.c b/driver/command.c index 3fc8a8b..909f9fd 100644 --- a/driver/command.c +++ b/driver/command.c @@ -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