summaryrefslogtreecommitdiff
path: root/platform/ios/src/MGLMapView.mm
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2019-02-23 00:29:45 -0800
committerMinh Nguyễn <mxn@1ec5.org>2019-02-25 10:44:43 -0800
commit26e1c925f251d868d4bff39cd2c32b7839d02f4e (patch)
tree358df147bd4107d983f97649033c4db250c8a372 /platform/ios/src/MGLMapView.mm
parentf66848efaf1efe2ce4088bf56ae7af3a765b9d57 (diff)
downloadqtlocation-mapboxgl-26e1c925f251d868d4bff39cd2c32b7839d02f4e.tar.gz
[ios, macos] Expose MGLMapView OpenGL context to OpenGL style layers
Added a property to MGLOpenGLStyleLayer that contains the map view’s underlying OpenGL rendering context.
Diffstat (limited to 'platform/ios/src/MGLMapView.mm')
-rw-r--r--platform/ios/src/MGLMapView.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/ios/src/MGLMapView.mm b/platform/ios/src/MGLMapView.mm
index 752a1a780b..f5b51330a0 100644
--- a/platform/ios/src/MGLMapView.mm
+++ b/platform/ios/src/MGLMapView.mm
@@ -195,7 +195,7 @@ public:
MGLMultiPointDelegate,
MGLAnnotationImageDelegate>
-@property (nonatomic) EAGLContext *context;
+@property (nonatomic, readwrite) EAGLContext *context;
@property (nonatomic) GLKView *glView;
@property (nonatomic) UIImageView *glSnapshotView;