Merge pull request #1011 from aws-lumberyard-dev/ly-as-sdk/LYN-2948

Integration of the LY as an SDK work
This commit is contained in:
Esteban Papp
2021-05-28 11:30:13 -07:00
committed by GitHub
247 changed files with 6904 additions and 7991 deletions
@@ -303,7 +303,10 @@ namespace AZ::Render
lastTime = time;
}
const double averageFPS = aznumeric_cast<double>(m_fpsHistory.size()) / actualInterval.count();
const double averageFPS = (actualInterval.count() != 0.0)
? aznumeric_cast<double>(m_fpsHistory.size()) / actualInterval.count()
: 0.0;
const double frameIntervalSeconds = m_fpsInterval.count();
DrawLine(