mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-13 09:39:33 +01:00
On Windows 11, start defaulting to Vulkan.
This commit is contained in:
1 parent
eb863ae671
commit
fa04337654
4 files changed
+11
-1
No files matched your search
+5
-1
@@ -456,7 +456,11 @@ static int DefaultGPUBackend() {
|
||||
}
|
||||
|
||||
#if PPSSPP_PLATFORM(WINDOWS)
|
||||
// If no Vulkan, use Direct3D 11 on Windows 8+ (most importantly 10.)
|
||||
// On Win11, there's a good chance Vulkan will work by default.
|
||||
if (IsWin11OrHigher()) {
|
||||
return (int)GPUBackend::VULKAN;
|
||||
}
|
||||
// On older Windows, to be safe, use Direct3D 11.
|
||||
if (IsWin8OrHigher()) {
|
||||
return (int)GPUBackend::DIRECT3D11;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user