summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2016-12-07 00:31:30 -0800
committerMinh Nguyễn <mxn@1ec5.org>2016-12-07 00:31:30 -0800
commit178130267e3d79e53506549fb43c4fb2ef18e6e0 (patch)
tree6da22d1619fe42c40de4e91e8d3b165e27dead4f
parenta39f53df22246cc85be17933b6c99897786d2222 (diff)
downloadqtlocation-mapboxgl-178130267e3d79e53506549fb43c4fb2ef18e6e0.tar.gz
[ios, macos] Corrected -setNeedsDisplay documentation
Followup to #7250.
-rw-r--r--platform/darwin/src/MGLOpenGLStyleLayer.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/darwin/src/MGLOpenGLStyleLayer.mm b/platform/darwin/src/MGLOpenGLStyleLayer.mm
index 2e819f0a2b..e41ad2465a 100644
--- a/platform/darwin/src/MGLOpenGLStyleLayer.mm
+++ b/platform/darwin/src/MGLOpenGLStyleLayer.mm
@@ -191,7 +191,7 @@ void MGLFinishCustomStyleLayer(void *context) {
/**
Forces the map view associated with this style to redraw the receiving layer,
- causing its drawing handler to be run.
+ causing the `-drawInMapView:withContext:` method to be called.
*/
- (void)setNeedsDisplay {
[self.mapView setNeedsGLDisplay];