mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
synced 2024-11-24 21:10:12 +00:00
Merge pull request #288 from qbojj/patch-1
fix typo in specification of VmaAlignDown
This commit is contained in:
commit
c351692490
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user