diff --git a/Source/Core/VideoBackends/Metal/MTLUtil.mm b/Source/Core/VideoBackends/Metal/MTLUtil.mm index 50916a38e3..b6e2babbbd 100644 --- a/Source/Core/VideoBackends/Metal/MTLUtil.mm +++ b/Source/Core/VideoBackends/Metal/MTLUtil.mm @@ -22,12 +22,15 @@ std::vector>> Metal::Util::GetAdapterList() if (default_dev) list.push_back(MRCTransfer(default_dev)); +#if TARGET_OS_OSX auto devices = MRCTransfer(MTLCopyAllDevices()); for (id device in devices.Get()) { if (device != default_dev) list.push_back(MRCRetain(device)); } +#endif + return list; }