System: Fix GPU usage disappearing on renderer change
This commit is contained in:
parent
be268d8bf1
commit
b62e58776e
|
@ -2054,9 +2054,6 @@ bool System::Initialize(bool force_software_renderer, bool fullscreen, Error* er
|
|||
|
||||
s_cpu_thread_handle = Threading::ThreadHandle::GetForCallingThread();
|
||||
|
||||
if (g_settings.display_show_gpu_usage)
|
||||
g_gpu_device->SetGPUTimingEnabled(true);
|
||||
|
||||
UpdateThrottlePeriod();
|
||||
UpdateMemorySaveStateSettings();
|
||||
return true;
|
||||
|
@ -2539,6 +2536,9 @@ bool System::CreateGPU(GPURenderer renderer, bool is_switching, bool fullscreen,
|
|||
}
|
||||
}
|
||||
|
||||
if (g_settings.display_show_gpu_usage)
|
||||
g_gpu_device->SetGPUTimingEnabled(true);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue