From 19dbbe92c07fabc1c7f4d58d9c9c71982ec194b2 Mon Sep 17 00:00:00 2001 From: qbojj <105227351+qbojj@users.noreply.github.com> Date: Tue, 20 Sep 2022 13:29:31 +0200 Subject: [PATCH] fix typo in specification of VmaAlignDown --- include/vk_mem_alloc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/vk_mem_alloc.h b/include/vk_mem_alloc.h index c228173..dc116b0 100644 --- a/include/vk_mem_alloc.h +++ b/include/vk_mem_alloc.h @@ -3341,7 +3341,7 @@ static inline T VmaAlignUp(T val, T alignment) return (val + alignment - 1) & ~(alignment - 1); } -// Aligns given value down to nearest multiply of align value. For example: VmaAlignUp(11, 8) = 8. +// Aligns given value down to nearest multiply of align value. For example: VmaAlignDown(11, 8) = 8. // Use types like uint32_t, uint64_t as T. template static inline T VmaAlignDown(T val, T alignment)