Settings: Default to D3D11 renderer on Windows

This point it's less buggy and slightly more performant.
This commit is contained in:
Connor McLaughlin
2020-02-15 10:21:57 +09:00
parent 4681f9d744
commit 8eba4b379c
3 changed files with 10 additions and 3 deletions

View File

@ -16,8 +16,8 @@ void Settings::Load(SettingsInterface& si)
cpu_execution_mode = ParseCPUExecutionMode(si.GetStringValue("CPU", "ExecutionMode", "Interpreter").c_str())
.value_or(CPUExecutionMode::Interpreter);
gpu_renderer =
ParseRendererName(si.GetStringValue("GPU", "Renderer", "OpenGL").c_str()).value_or(GPURenderer::HardwareOpenGL);
gpu_renderer = ParseRendererName(si.GetStringValue("GPU", "Renderer", GetRendererName(DEFAULT_GPU_RENDERER)).c_str())
.value_or(DEFAULT_GPU_RENDERER);
gpu_resolution_scale = static_cast<u32>(si.GetIntValue("GPU", "ResolutionScale", 1));
gpu_true_color = si.GetBoolValue("GPU", "TrueColor", false);
gpu_texture_filtering = si.GetBoolValue("GPU", "TextureFiltering", false);