mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-23 18:59:19 +00:00
make DX11 the default on windows
This commit is contained in:
parent
54aa2c8515
commit
e09fca3030
1 changed files with 6 additions and 4 deletions
|
@ -217,14 +217,16 @@ const std::vector<std::unique_ptr<VideoBackendBase>>& VideoBackendBase::GetAvail
|
|||
static auto s_available_backends = [] {
|
||||
std::vector<std::unique_ptr<VideoBackendBase>> backends;
|
||||
|
||||
// OGL > D3D11 > D3D12 > Vulkan > SW > Null
|
||||
#ifdef HAS_OPENGL
|
||||
backends.push_back(std::make_unique<OGL::VideoBackend>());
|
||||
#endif
|
||||
// Mainline prefers OGL > D3D11 > D3D12 > Vulkan > SW > Null
|
||||
// Slippi will instead prefer D3D11 > D3D12 > OGL > Vulkan > SW > Null
|
||||
// SLIPPITODO: Check what works best in practice for each OS
|
||||
#ifdef _WIN32
|
||||
backends.push_back(std::make_unique<DX11::VideoBackend>());
|
||||
backends.push_back(std::make_unique<DX12::VideoBackend>());
|
||||
#endif
|
||||
#ifdef HAS_OPENGL
|
||||
backends.push_back(std::make_unique<OGL::VideoBackend>());
|
||||
#endif
|
||||
#ifdef HAS_VULKAN
|
||||
backends.push_back(std::make_unique<Vulkan::VideoBackend>());
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue