GPU/HW: Add an option to use software renderer for readbacks

This commit is contained in:
Connor McLaughlin
2021-05-19 13:43:49 +10:00
parent 063eeeb214
commit 5d877250e9
19 changed files with 303 additions and 28 deletions

View File

@ -12,9 +12,9 @@ GPUBackend::GPUBackend() = default;
GPUBackend::~GPUBackend() = default;
bool GPUBackend::Initialize()
bool GPUBackend::Initialize(bool force_thread)
{
if (g_settings.gpu_use_thread)
if (force_thread || g_settings.gpu_use_thread)
StartGPUThread();
return true;