From 7f02906d41682ffa87257d0fe713510491eb7025 Mon Sep 17 00:00:00 2001 From: Lior Halphon Date: Mon, 17 Aug 2026 22:46:06 +0300 Subject: [PATCH] Explicit weak import --- AppleCommon/GBViewMetal.m | 1 + 1 file changed, 1 insertion(+) diff --git a/AppleCommon/GBViewMetal.m b/AppleCommon/GBViewMetal.m index 8d309508..8a780872 100644 --- a/AppleCommon/GBViewMetal.m +++ b/AppleCommon/GBViewMetal.m @@ -33,6 +33,7 @@ static const vector_float2 rect[] = #if TARGET_OS_IPHONE return true; #else + extern NSArray > *MTLCopyAllDevices(void) __attribute__((weak_import)); if (MTLCopyAllDevices) { return [MTLCopyAllDevices() count]; }