summaryrefslogtreecommitdiff
path: root/platform/ios
diff options
context:
space:
mode:
authorJustin R. Miller <incanus@codesorcery.net>2015-07-01 10:42:38 -0400
committerJustin R. Miller <incanus@codesorcery.net>2015-07-08 12:10:12 -0700
commitb8388168dd130c67c77254565cdb576df7905915 (patch)
treecd0bbd2dd9876fa4ee8a250789719407dcd3fc10 /platform/ios
parentfb230dda51721842036bb9102168e99ed2251f91 (diff)
downloadqtlocation-mapboxgl-b8388168dd130c67c77254565cdb576df7905915.tar.gz
split renderSync and transition nudging to allow client view syncing
Diffstat (limited to 'platform/ios')
-rw-r--r--platform/ios/MGLMapView.mm3
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/ios/MGLMapView.mm b/platform/ios/MGLMapView.mm
index 6f6a6d9ae1..01a716ad96 100644
--- a/platform/ios/MGLMapView.mm
+++ b/platform/ios/MGLMapView.mm
@@ -687,7 +687,8 @@ std::chrono::steady_clock::duration secondsAsDuration(float duration)
_mbglMap->setSourceTileCacheSize(cacheSize);
- _mbglMap->renderSync();
+ bool needsRerender = _mbglMap->renderSync();
+ _mbglMap->nudgeTransitions(needsRerender);
}
}