From 178130267e3d79e53506549fb43c4fb2ef18e6e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguye=CC=82=CC=83n?= Date: Wed, 7 Dec 2016 00:31:30 -0800 Subject: [ios, macos] Corrected -setNeedsDisplay documentation Followup to #7250. --- platform/darwin/src/MGLOpenGLStyleLayer.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- cgit v1.2.1