summaryrefslogtreecommitdiff
path: root/src/mbgl/map/map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/map/map.cpp')
-rw-r--r--src/mbgl/map/map.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/map/map.cpp b/src/mbgl/map/map.cpp
index 495dc06e3b..1d9cb1ac74 100644
--- a/src/mbgl/map/map.cpp
+++ b/src/mbgl/map/map.cpp
@@ -56,7 +56,7 @@ void Map::resume() {
void Map::renderStill(StillImageCallback callback) {
context->invoke(&MapContext::renderStill, transform->getState(),
- FrameData{ view.getFramebufferSize() }, callback);
+ FrameData { view.getFramebufferSize(), Clock::now() }, callback);
}
void Map::renderSync() {
@@ -68,7 +68,7 @@ void Map::renderSync() {
const Update flags = transform->updateTransitions(Clock::now());
const bool fullyLoaded = context->invokeSync<bool>(
- &MapContext::renderSync, transform->getState(), FrameData { view.getFramebufferSize() });
+ &MapContext::renderSync, transform->getState(), FrameData { view.getFramebufferSize(), Clock::now() });
view.notifyMapChange(fullyLoaded ?
MapChangeDidFinishRenderingFrameFullyRendered :