diff --git a/include/vk_mem_alloc.h b/include/vk_mem_alloc.h index 8d83da0..77a603f 100644 --- a/include/vk_mem_alloc.h +++ b/include/vk_mem_alloc.h @@ -13797,11 +13797,10 @@ bool VmaDefragmentationContext_T::ComputeDefragmentation_Extensive(VmaBlockVecto vectorState.operation = StateExtensive::Operation::MoveBuffers; bufferPresent = false; otherPresent = false; - - VMA_FALLTHROUGH; // Fallthrough } else break; + VMA_FALLTHROUGH; // Fallthrough } case StateExtensive::Operation::MoveBuffers: { @@ -13823,11 +13822,10 @@ bool VmaDefragmentationContext_T::ComputeDefragmentation_Extensive(VmaBlockVecto // No more buffers to move, check all others vectorState.operation = StateExtensive::Operation::MoveAll; otherPresent = false; - - VMA_FALLTHROUGH; // Fallthrough } else break; + VMA_FALLTHROUGH; // Fallthrough } case StateExtensive::Operation::MoveAll: {