Supress Metal warning when compiling against macOS 10.11-10.13
Some checks are pending
Build (All) / Create test plan (push) Waiting to run
Build (All) / level1 (push) Blocked by required conditions
Build (All) / level2 (push) Blocked by required conditions

This commit is contained in:
M. P. Halpin 2024-10-29 22:26:15 -04:00 committed by Sam Lantinga
parent 2a05b63580
commit 24bdbb8bf4

View file

@ -88,8 +88,11 @@ typedef void* MTLTexture_id;
typedef struct __IOSurface* IOSurfaceRef;
#ifdef __OBJC__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunguarded-availability"
@protocol MTLSharedEvent;
typedef __unsafe_unretained id<MTLSharedEvent> MTLSharedEvent_id;
#pragma clang diagnostic pop
#else
typedef void* MTLSharedEvent_id;
#endif