diff options
author | Justin R. Miller <incanus@codesorcery.net> | 2015-07-01 10:42:38 -0400 |
---|---|---|
committer | Justin R. Miller <incanus@codesorcery.net> | 2015-07-08 12:10:12 -0700 |
commit | b8388168dd130c67c77254565cdb576df7905915 (patch) | |
tree | cd0bbd2dd9876fa4ee8a250789719407dcd3fc10 /platform/ios/MGLMapView.mm | |
parent | fb230dda51721842036bb9102168e99ed2251f91 (diff) | |
download | qtlocation-mapboxgl-b8388168dd130c67c77254565cdb576df7905915.tar.gz |
split renderSync and transition nudging to allow client view syncing
Diffstat (limited to 'platform/ios/MGLMapView.mm')
-rw-r--r-- | platform/ios/MGLMapView.mm | 3 |
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); } } |