@@ -38,13 +38,15 @@ struct Devices CopyAllDevices() { d.Length = devices.count; return d; } bool Device_SupportsFamily(void * device, uint16_t gpuFamily) { #ifdef MAC_OS_X_VERSION_10_15 if (@available(macOS 10.15, *)) { return [(id<MTLDevice>)device supportsFamily:gpuFamily]; } #endif // MAC_OS_X_VERSION_10_15 @throw @"API not available"; } #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wdeprecated-declarations"