GPU/HW: Add an option to use software renderer for readbacks
This commit is contained in:
parent
063eeeb214
commit
5d877250e9
19 changed files with 303 additions and 28 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue