diff options
-rw-r--r-- | platform/darwin/src/MGLOpenGLStyleLayer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/darwin/src/MGLOpenGLStyleLayer.h b/platform/darwin/src/MGLOpenGLStyleLayer.h index f699284c32..fd82a4a69d 100644 --- a/platform/darwin/src/MGLOpenGLStyleLayer.h +++ b/platform/darwin/src/MGLOpenGLStyleLayer.h @@ -27,11 +27,14 @@ MGL_EXPORT @property (nonatomic, weak, readonly) MGLStyle *style; +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdeprecated-declarations" #if TARGET_OS_IPHONE @property (nonatomic, readonly) EAGLContext *context; #else @property (nonatomic, readonly) CGLContextObj context; #endif +#pragma clang diagnostic pop - (instancetype)initWithIdentifier:(NSString *)identifier; |