iOS: Default to the Vulkan backend

This commit is contained in:
Henrik Rydgård
2024-07-26 11:31:00 +02:00
parent 2694104531
commit 645272c82d
+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.