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

@ -45,6 +45,11 @@ GPURenderer GPU_SW::GetRendererType() const
return GPURenderer::Software;
}
const Threading::Thread* GPU_SW::GetSWThread() const
{
return m_backend.GetThread();
}
bool GPU_SW::Initialize()
{
// we need something to draw in.. but keep the current api if we have one