Commit 6a184fe9 by Yuly Novikov Committed by Commit Bot
parent 4bbef996
...@@ -42,9 +42,9 @@ PoolAllocator::PoolAllocator(int growthIncrement, int allocationAlignment) ...@@ -42,9 +42,9 @@ PoolAllocator::PoolAllocator(int growthIncrement, int allocationAlignment)
void PoolAllocator::initialize(int pageSize, int alignment) void PoolAllocator::initialize(int pageSize, int alignment)
{ {
mPageSize = pageSize;
mAlignment = alignment; mAlignment = alignment;
#if !defined(ANGLE_DISABLE_POOL_ALLOC) #if !defined(ANGLE_DISABLE_POOL_ALLOC)
mPageSize = pageSize;
if (mAlignment == 1) if (mAlignment == 1)
{ {
// This is a special fast-path where fastAllocation() is enabled // This is a special fast-path where fastAllocation() is enabled
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment