Integrating up through commit 90f050496

This commit is contained in:
alexpete
2021-04-07 14:03:29 -07:00
parent 8f2ed080a9
commit c2cbd430fe
2694 changed files with 285622 additions and 176874 deletions
@@ -65,6 +65,12 @@ namespace AZ
{
uint32_t allocatePosition = 0;
//m_ringBufferStartAddress can be null for Null back end
if (!m_ringBufferStartAddress)
{
return nullptr;
}
if (size > m_ringBufferSize)
{
AZ_WarningOnce("RPI", !m_enableAllocationWarning, "DynamicBufferAllocator::Allocate: try to allocate buffer which size is larger than the ring buffer size");