Default to OpenGL on Intel Macs for safety

This commit is contained in:
Henrik Rydgård 2023-04-27 13:38:17 +02:00
parent b333e2b306
commit c19b22d894

@ -331,8 +331,15 @@ 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
#endif
// TODO: On some additional Linux platforms, we should also default to Vulkan.
return (int)GPUBackend::OPENGL;
}