Commit 6a184fe9 by Yuly Novikov Committed by Commit Bot
parent 4bbef996
......@@ -42,9 +42,9 @@ PoolAllocator::PoolAllocator(int growthIncrement, int allocationAlignment)
void PoolAllocator::initialize(int pageSize, int alignment)
{
mPageSize = pageSize;
mAlignment = alignment;
#if !defined(ANGLE_DISABLE_POOL_ALLOC)
mPageSize = pageSize;
if (mAlignment == 1)
{
// 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