Fix missing GPU events when using shaders profiling/debugging or graphics dev tools are enabled

This commit is contained in:
Wojtek Figat
2024-07-03 18:29:42 +02:00
parent b3d77ab9eb
commit b8100e9417
5 changed files with 23 additions and 11 deletions

View File

@@ -224,6 +224,7 @@ void ProfilingTools::SetEnabled(bool enabled)
{
ProfilerCPU::Enabled = enabled;
ProfilerGPU::Enabled = enabled;
ProfilerGPU::EventsEnabled = enabled;
NetworkInternal::EnableProfiling = enabled;
}