mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-18 05:35:46 -04:00
System: Fix CPU usage not showing for sw-renderer-for-readbacks
This commit is contained in:
@ -168,7 +168,7 @@ void ImGuiManager::DrawPerformanceOverlay()
|
||||
FormatProcessorStat(text, System::GetCPUThreadUsage(), System::GetCPUThreadAverageTime());
|
||||
DRAW_LINE(fixed_font, text, IM_COL32(255, 255, 255, 255));
|
||||
|
||||
if (!g_gpu->IsHardwareRenderer() && g_settings.gpu_use_thread)
|
||||
if (g_gpu->GetSWThread())
|
||||
{
|
||||
text.Assign("SW: ");
|
||||
FormatProcessorStat(text, System::GetSWThreadUsage(), System::GetSWThreadAverageTime());
|
||||
|
Reference in New Issue
Block a user