Merge pull request #288 from qbojj/patch-1

fix typo in specification of VmaAlignDown
This commit is contained in:
Adam Sawicki 2022-09-20 13:31:46 +02:00 committed by GitHub
commit c351692490
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); 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. // Use types like uint32_t, uint64_t as T.
template <typename T> template <typename T>
static inline T VmaAlignDown(T val, T alignment) static inline T VmaAlignDown(T val, T alignment)