summaryrefslogtreecommitdiff
path: root/platform/ios/src/MGLMapView.mm
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2019-04-05 11:00:56 +0200
committerKonstantin Käfer <mail@kkaefer.com>2019-04-05 11:49:17 +0200
commit1d58850d0c5b467132af92eb0604b903b9199e8d (patch)
treed626f48a91224209f9fcd222a085686264627a89 /platform/ios/src/MGLMapView.mm
parent5cc3d7a73328d6df9c16d27d6aca5b49ba085351 (diff)
downloadqtlocation-mapboxgl-1d58850d0c5b467132af92eb0604b903b9199e8d.tar.gz
[core] remove Renderer::flush
Diffstat (limited to 'platform/ios/src/MGLMapView.mm')
-rw-r--r--platform/ios/src/MGLMapView.mm2
1 files changed, 0 insertions, 2 deletions
diff --git a/platform/ios/src/MGLMapView.mm b/platform/ios/src/MGLMapView.mm
index 4d980655cc..8bfd161cdb 100644
--- a/platform/ios/src/MGLMapView.mm
+++ b/platform/ios/src/MGLMapView.mm
@@ -1341,8 +1341,6 @@ public:
// In iOS 12.2, CAEAGLLayer.presentsWithTransaction can cause dramatic
// slow down. The exact cause of this is unknown, but this work around
// appears to lessen the effects.
- //
- // Also, consider calling the new mbgl::Renderer::flush()
CAEAGLLayer *eaglLayer = MGL_OBJC_DYNAMIC_CAST(_glView.layer, CAEAGLLayer);
eaglLayer.presentsWithTransaction = NO;