Explicit weak import

This commit is contained in:
Lior Halphon
2026-08-17 22:46:06 +03:00
parent 4b11768f41
commit 7f02906d41
+1
View File
@@ -33,6 +33,7 @@ static const vector_float2 rect[] =
#if TARGET_OS_IPHONE
return true;
#else
extern NSArray <id<MTLDevice>> *MTLCopyAllDevices(void) __attribute__((weak_import));
if (MTLCopyAllDevices) {
return [MTLCopyAllDevices() count];
}