Adding warning feedback from mnaumov

This commit is contained in:
mriegger
2021-05-13 21:16:32 -07:00
parent ecef0e88f3
commit c07c7d822e
@@ -138,6 +138,10 @@ namespace AZ
{
m_materialToTextureArrayLookupTable.at(materialAsset).m_useCount++;
}
else
{
AZ_Warning("DecalTextureArrayFeatureProcessor", false, "CloneDecal called on a decal with no material set.");
}
m_deviceBufferNeedsUpdate = true;
}
return decal;