[atom_cpu_profiler_gem_promotion] disconnected Atom CPU profiler preparing for gem promotion
Signed-off-by: AMZN-ScottR <24445312+AMZN-ScottR@users.noreply.github.com>
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
#include <AzCore/Serialization/SerializeContext.h>
|
||||
|
||||
#include <Atom/RHI/RHISystemInterface.h>
|
||||
#include <Atom/RHI/CpuProfiler.h>
|
||||
#include <Atom/RPI.Public/Pass/ParentPass.h>
|
||||
#include <Atom/RPI.Public/Pass/PassSystemInterface.h>
|
||||
|
||||
@@ -70,8 +69,6 @@ namespace MaterialEditor
|
||||
AZ::RHI::FrameSchedulerStatisticsFlags::GatherCpuTimingStatistics,
|
||||
enabled);
|
||||
|
||||
AZ::RHI::CpuProfiler::Get()->SetProfilerEnabled(enabled);
|
||||
|
||||
if (enabled)
|
||||
{
|
||||
ResetStats();
|
||||
|
||||
Reference in New Issue
Block a user