mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
synced 2024-11-21 20:00:11 +00:00
fix typo in specification of VmaAlignDown
This commit is contained in:
parent
d2767622a6
commit
19dbbe92c0
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user