summaryrefslogtreecommitdiffstats
path: root/Common/src
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2021-03-14 02:11:59 +0000
committerassiduous <assiduous@diligentgraphics.com>2021-03-19 00:38:22 +0000
commit00219a5bdbe63aee3957de193fe640f499f01eb4 (patch)
tree5bb5cddda4b76861fe5f0e8d2120f9b085bd2173 /Common/src
parentDirect3D11: added BindPointsD3D11 instead of TBindPoints and TBindPointsAndAc... (diff)
downloadDiligentCore-00219a5bdbe63aee3957de193fe640f499f01eb4.tar.gz
DiligentCore-00219a5bdbe63aee3957de193fe640f499f01eb4.zip
Renamed Align to AlignUp
Diffstat (limited to 'Common/src')
-rw-r--r--Common/src/FixedBlockMemoryAllocator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Common/src/FixedBlockMemoryAllocator.cpp b/Common/src/FixedBlockMemoryAllocator.cpp
index 4e735a4d..8fdf6b35 100644
--- a/Common/src/FixedBlockMemoryAllocator.cpp
+++ b/Common/src/FixedBlockMemoryAllocator.cpp
@@ -35,7 +35,7 @@ namespace Diligent
static size_t AdjustBlockSize(size_t BlockSize)
{
- return Align(std::max(BlockSize, size_t{1}), sizeof(void*));
+ return AlignUp(std::max(BlockSize, size_t{1}), sizeof(void*));
}
FixedBlockMemoryAllocator::FixedBlockMemoryAllocator(IMemoryAllocator& RawMemoryAllocator,