diff options
author | Julian Rex <julian.rex@gmail.com> | 2019-03-05 08:52:14 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-05 08:52:14 -0500 |
commit | b29704cd1f19f03ac71ee7d308669135c6cfddcc (patch) | |
tree | 537bb56753b0de70c0be8c1f32a7474504ffdfa5 | |
parent | be2a4a0189f42c2ae05eb2e54339bcf3bba97f4d (diff) | |
download | qtlocation-mapboxgl-b29704cd1f19f03ac71ee7d308669135c6cfddcc.tar.gz |
[ios] Mute warnings about OpenGL deprecation. (#14019)
-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; |