Settings: Default to D3D11 renderer on Windows
This point it's less buggy and slightly more performant.
This commit is contained in:
@@ -98,4 +98,11 @@ struct Settings
|
||||
static std::optional<ControllerType> ParseControllerTypeName(const char* str);
|
||||
static const char* GetControllerTypeName(ControllerType type);
|
||||
static const char* GetControllerTypeDisplayName(ControllerType type);
|
||||
|
||||
// Default to D3D11 on Windows as it's more performant and at this point, less buggy.
|
||||
#ifdef WIN32
|
||||
static constexpr GPURenderer DEFAULT_GPU_RENDERER = GPURenderer::HardwareD3D11;
|
||||
#else
|
||||
static constexpr GPURenderer DEFAULT_GPU_RENDERER = GPURenderer::HardwareOpenGL;
|
||||
#endif
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user