From 685725a0299f12c1441ccf946e8ad33e0646d372 Mon Sep 17 00:00:00 2001 From: Julian Rex Date: Fri, 1 Mar 2019 16:22:06 -0500 Subject: Mute warnings about OpenGL deprecation. --- platform/darwin/src/MGLOpenGLStyleLayer.h | 3 +++ 1 file changed, 3 insertions(+) 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; -- cgit v1.2.1