diff --git a/include/vk_mem_alloc.h b/include/vk_mem_alloc.h index 2cf4094..b74232a 100644 --- a/include/vk_mem_alloc.h +++ b/include/vk_mem_alloc.h @@ -13841,6 +13841,9 @@ bool VmaDefragmentationContext_T::ComputeDefragmentation_Extensive(VmaBlockVecto } break; } + case StateExtensive::Operation::Cleanup: + // Cleanup is handled below so that other operations may reuse the cleanup code. This case is here to prevent the unhandled enum value warning (C4062). + break; } if (vectorState.operation == StateExtensive::Operation::Cleanup)