|
@@ -110,7 +110,7 @@ namespace AtomSampleViewer
|
|
|
AZ::ComponentApplicationBus::Broadcast(&AZ::ComponentApplicationBus::Events::QueryApplicationType, appType);
|
|
|
if (appType.IsValid() && !appType.IsEditor())
|
|
|
{
|
|
|
- // AtomSampleViewer SampleComponentManager creates and manages its own scene and render pipelines.
|
|
|
+ // AtomSampleViewer SampleComponentManager creates and manages its own scene and render pipelines.
|
|
|
// We disable the creation of default scene in BootStrapSystemComponent
|
|
|
AZ::Render::Bootstrap::DefaultWindowBus::Broadcast(&AZ::Render::Bootstrap::DefaultWindowBus::Events::SetCreateDefaultScene, false);
|
|
|
}
|
|
@@ -207,7 +207,7 @@ namespace AtomSampleViewer
|
|
|
|
|
|
if (!m_testsLogged)
|
|
|
{
|
|
|
- AZStd::chrono::duration<float> elapsedTime = HighResTimer::now() - m_timestamp;
|
|
|
+ auto elapsedTime = AZStd::chrono::duration_cast<AZStd::chrono::duration<float>>(HighResTimer::now() - m_timestamp);
|
|
|
|
|
|
if (m_frameCount == 1)
|
|
|
{
|