Skip to content

Commit 54d356e

Browse files
committed
C4062 fix
1 parent 42be483 commit 54d356e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

include/vk_mem_alloc.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13841,6 +13841,9 @@ bool VmaDefragmentationContext_T::ComputeDefragmentation_Extensive(VmaBlockVecto
1384113841
}
1384213842
break;
1384313843
}
13844+
case StateExtensive::Operation::Cleanup:
13845+
// 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).
13846+
break;
1384413847
}
1384513848

1384613849
if (vectorState.operation == StateExtensive::Operation::Cleanup)

0 commit comments

Comments
 (0)