summaryrefslogtreecommitdiff
path: root/render-test/runner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'render-test/runner.cpp')
-rw-r--r--render-test/runner.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/render-test/runner.cpp b/render-test/runner.cpp
index 8a4b0b3b0e..0389b83575 100644
--- a/render-test/runner.cpp
+++ b/render-test/runner.cpp
@@ -1035,7 +1035,8 @@ bool TestRunner::runOperations(const std::string& key, TestMetadata& metadata, R
map.flyTo(mbgl::CameraOptions().withCenter(endPos).withZoom(endZoom), animationOptions);
- for (; !transitionFinished; frames++) {
+ while (!transitionFinished) {
+ frames++;
frontend.renderOnce(map);
float frameTime = (float)frontend.getFrameTime();
totalTime += frameTime;