Android: Default backendMultithreading to false on android
This commit is contained in:
parent
b14e540671
commit
8a1eb34c38
|
@ -71,8 +71,15 @@ const ConfigInfo<bool> GFX_BORDERLESS_FULLSCREEN{{System::GFX, "Settings", "Bord
|
||||||
false};
|
false};
|
||||||
const ConfigInfo<bool> GFX_ENABLE_VALIDATION_LAYER{
|
const ConfigInfo<bool> GFX_ENABLE_VALIDATION_LAYER{
|
||||||
{System::GFX, "Settings", "EnableValidationLayer"}, false};
|
{System::GFX, "Settings", "EnableValidationLayer"}, false};
|
||||||
|
|
||||||
|
#if defined(ANDROID)
|
||||||
|
const ConfigInfo<bool> GFX_BACKEND_MULTITHREADING{
|
||||||
|
{System::GFX, "Settings", "BackendMultithreading"}, false};
|
||||||
|
#else
|
||||||
const ConfigInfo<bool> GFX_BACKEND_MULTITHREADING{
|
const ConfigInfo<bool> GFX_BACKEND_MULTITHREADING{
|
||||||
{System::GFX, "Settings", "BackendMultithreading"}, true};
|
{System::GFX, "Settings", "BackendMultithreading"}, true};
|
||||||
|
#endif
|
||||||
|
|
||||||
const ConfigInfo<int> GFX_COMMAND_BUFFER_EXECUTE_INTERVAL{
|
const ConfigInfo<int> GFX_COMMAND_BUFFER_EXECUTE_INTERVAL{
|
||||||
{System::GFX, "Settings", "CommandBufferExecuteInterval"}, 100};
|
{System::GFX, "Settings", "CommandBufferExecuteInterval"}, 100};
|
||||||
const ConfigInfo<bool> GFX_SHADER_CACHE{{System::GFX, "Settings", "ShaderCache"}, true};
|
const ConfigInfo<bool> GFX_SHADER_CACHE{{System::GFX, "Settings", "ShaderCache"}, true};
|
||||||
|
|
|
@ -41,7 +41,12 @@ VideoConfig::VideoConfig()
|
||||||
backend_info.bSupportsBPTCTextures = false;
|
backend_info.bSupportsBPTCTextures = false;
|
||||||
|
|
||||||
bEnableValidationLayer = false;
|
bEnableValidationLayer = false;
|
||||||
|
|
||||||
|
#if defined(ANDROID)
|
||||||
|
bBackendMultithreading = false;
|
||||||
|
#else
|
||||||
bBackendMultithreading = true;
|
bBackendMultithreading = true;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void VideoConfig::Refresh()
|
void VideoConfig::Refresh()
|
||||||
|
|
Loading…
Reference in New Issue