2
0
Эх сурвалжийг харах

[development] Removed references to AZ::RHI::CpuTimingStatistics (#226)

Changed related to o3de/o3de#4549

Signed-off-by: AMZN-ScottR [email protected]
Scott Romero 4 жил өмнө
parent
commit
527a19f4a9

+ 1 - 0
Gem/Code/Source/DynamicMaterialTestComponent.cpp

@@ -19,6 +19,7 @@
 
 #include <AzCore/Component/Entity.h>
 #include <AzCore/Debug/EventTrace.h>
+#include <AzCore/Debug/Timer.h>
 #include <AzCore/Math/Random.h>
 
 #include <RHI/BasicRHIComponent.h>

+ 1 - 5
Gem/Code/Source/SampleComponentManager.cpp

@@ -1023,11 +1023,7 @@ namespace AtomSampleViewer
 
     void SampleComponentManager::ShowCpuProfilerWindow()
     {
-        const AZ::RHI::CpuTimingStatistics* stats = AZ::RHI::RHISystemInterface::Get()->GetCpuTimingStatistics();
-        if (stats)
-        {
-            m_imguiCpuProfiler.Draw(m_showCpuProfiler, *stats);
-        }
+        m_imguiCpuProfiler.Draw(m_showCpuProfiler);
     }
 
     void SampleComponentManager::ShowGpuProfilerWindow()