summaryrefslogtreecommitdiff
path: root/src/mbgl/map/map.cpp
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2017-05-29 14:53:54 +0300
committerBruno de Oliveira Abinader <bruno@mapbox.com>2017-05-30 13:03:07 +0300
commitb83dfb7eb53cd7c13c98149220b960351501c8c1 (patch)
treebc6397f13f0c4110fadcfb649ad4d0ab75c22b03 /src/mbgl/map/map.cpp
parent5cf0fc0f8bb3f66fd7844cae73efca1a4c2d94f5 (diff)
downloadqtlocation-mapboxgl-b83dfb7eb53cd7c13c98149220b960351501c8c1.tar.gz
Revert "[core] Factor timePoint initialization"
This reverts commit 3790caafa3c98706c5cf0618c8aec592b2780bba.
Diffstat (limited to 'src/mbgl/map/map.cpp')
-rw-r--r--src/mbgl/map/map.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mbgl/map/map.cpp b/src/mbgl/map/map.cpp
index 7544760927..96b8b88044 100644
--- a/src/mbgl/map/map.cpp
+++ b/src/mbgl/map/map.cpp
@@ -226,9 +226,7 @@ void Map::Impl::render(View& view) {
return;
}
- TimePoint timePoint = mode == MapMode::Continuous
- ? Clock::now()
- : Clock::time_point::max();
+ TimePoint timePoint = Clock::now();
transform.updateTransitions(timePoint);