iOS: Make Metal the default graphics backend

Not on tvOS, where the Metal backend hasn't been run yet. Existing
installs keep the backend saved in their ini.

The multi-swapchain plan now does Metal before Vulkan to match.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Henrik RydgårdandClaude Opus 5.5 committed 2026-10-22 18:42:53 +02:00
1 parent 7da7e71aea
commit a2d18d21cd
3 files changed
+18 -14

No files matched your search

+4 -1
View File
@@ -536,8 +536,11 @@ static int DefaultGPUBackend() {
return (int)GPUBackend::OPENGL;
#endif
#elif PPSSPP_PLATFORM(IOS) && !defined(__LIBRETRO__)
#elif PPSSPP_PLATFORM(TVOS) && !defined(__LIBRETRO__)
// Metal hasn't been tried on tvOS yet.
return (int)GPUBackend::VULKAN;
#elif PPSSPP_PLATFORM(IOS) && !defined(__LIBRETRO__)
return (int)GPUBackend::METAL;
#endif
// TODO: On some additional Linux platforms, we should also default to Vulkan.