iOS: Default to the Vulkan backend

This commit is contained in:
Henrik Rydgård committed 2024-09-04 12:56:15 +02:00
1 parent 2694104531
commit 645272c82d
1 file changed
+5
+5
View File
@@ -448,13 +448,18 @@ static int DefaultGPUBackend() {
return (int)GPUBackend::VULKAN;
}
#endif
#elif PPSSPP_PLATFORM(MAC)
#if PPSSPP_ARCH(ARM64)
return (int)GPUBackend::VULKAN;
#else
// On Intel (generally older Macs) default to OpenGL.
return (int)GPUBackend::OPENGL;
#endif
#elif PPSSPP_PLATFORM(IOS_APP_STORE)
return (int)GPUBackend::VULKAN;
#endif
// TODO: On some additional Linux platforms, we should also default to Vulkan.