fix after merge

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
monroegm-disable-blank-issue-2
Esteban Papp 4 years ago
parent 2521ad2301
commit 13770b4c42

@ -84,8 +84,8 @@ namespace AZ
StagingMemoryAllocator::Descriptor allocatorDesc; StagingMemoryAllocator::Descriptor allocatorDesc;
allocatorDesc.m_device = this; allocatorDesc.m_device = this;
allocatorDesc.m_mediumPageSizeInBytes = platLimitsDesc->m_platformDefaultValues.m_mediumStagingBufferPageSizeInBytes; allocatorDesc.m_mediumPageSizeInBytes = static_cast<uint32_t>(platLimitsDesc->m_platformDefaultValues.m_mediumStagingBufferPageSizeInBytes);
allocatorDesc.m_largePageSizeInBytes = platLimitsDesc->m_platformDefaultValues.m_largestStagingBufferPageSizeInBytes; allocatorDesc.m_largePageSizeInBytes = static_cast<uint32_t>(platLimitsDesc->m_platformDefaultValues.m_largestStagingBufferPageSizeInBytes);
allocatorDesc.m_collectLatency = m_descriptor.m_frameCountMax; allocatorDesc.m_collectLatency = m_descriptor.m_frameCountMax;
m_stagingMemoryAllocator.Init(allocatorDesc); m_stagingMemoryAllocator.Init(allocatorDesc);
} }

Loading…
Cancel
Save