System: Fix CPU usage not showing for sw-renderer-for-readbacks

This commit is contained in:
Connor McLaughlin
2022-08-05 17:17:29 +10:00
parent 8f314c8d49
commit 06ecc50797
7 changed files with 28 additions and 17 deletions

View File

@ -44,6 +44,11 @@ GPU_HW::~GPU_HW()
}
}
const Threading::Thread* GPU_HW::GetSWThread() const
{
return m_sw_renderer ? m_sw_renderer->GetThread() : nullptr;
}
bool GPU_HW::Initialize()
{
if (!GPU::Initialize())