From e5ae29a5e472823e035bbcad3415be2dc4f58d2c Mon Sep 17 00:00:00 2001 From: Adam Sawicki Date: Fri, 9 Feb 2018 16:59:01 +0100 Subject: [PATCH] Minor fix. --- src/vk_mem_alloc.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/vk_mem_alloc.h b/src/vk_mem_alloc.h index 601a42a..db2f263 100644 --- a/src/vk_mem_alloc.h +++ b/src/vk_mem_alloc.h @@ -5971,6 +5971,10 @@ VkResult VmaBlockVector::Allocate( newBlockSize = smallerNewBlockSize; ++newBlockSizeShift; } + else + { + break; + } } }