mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-06 14:24:21 +01:00
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:
1 parent
7da7e71aea
commit
a2d18d21cd
3 files changed
+18
-14
No files matched your search
+4
-1
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user