summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2015-07-20 21:57:54 +0300
committerBruno de Oliveira Abinader <bruno@mapbox.com>2015-07-20 21:59:13 +0300
commit0b8cd02c195e58ae11037e3905f4987f7ce05bbb (patch)
tree362e6e47cb3885dad3f8b220fa54f6e109c68a6d
parent784eb355122bb0e4a01dff29da88aa6a76e2b85b (diff)
downloadqtlocation-mapboxgl-0b8cd02c195e58ae11037e3905f4987f7ce05bbb.tar.gz
GLFW port now uses nudgeTransitions()
-rw-r--r--platform/default/glfw_view.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/default/glfw_view.cpp b/platform/default/glfw_view.cpp
index 6d8c208dc4..e83a832728 100644
--- a/platform/default/glfw_view.cpp
+++ b/platform/default/glfw_view.cpp
@@ -335,7 +335,8 @@ void GLFWView::run() {
glfwWaitEvents();
const bool dirty = !clean.test_and_set();
if (dirty) {
- map->renderSync();
+ const bool needsRerender = map->renderSync();
+ map->nudgeTransitions(needsRerender);
}
}
}