fixing Atom

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
pappeste
2021-06-25 16:07:36 -07:00
committed by Esteban Papp
parent f6cdcddc52
commit 38fd7f0013
44 changed files with 132 additions and 130 deletions
@@ -38,7 +38,7 @@ namespace AZ
if (m_imageSize != size)
{
m_imageSize = size;
m_outputScale = (m_passType == PassType::Vertical) ? pow(2.0f, m_mipLevel) : 1.0f;
m_outputScale = (m_passType == PassType::Vertical) ? static_cast<float>(pow(2.0f, m_mipLevel)) : 1.0f;
m_updateSrg = true;
}