fix typo in specification of VmaAlignDown

This commit is contained in:
qbojj 2022-09-20 13:29:31 +02:00 committed by GitHub
parent d2767622a6
commit 19dbbe92c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 <typename T>
static inline T VmaAlignDown(T val, T alignment)