summaryrefslogtreecommitdiff
path: root/render-test/runner.cpp
diff options
context:
space:
mode:
authorMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2020-03-18 14:51:25 +0200
committerMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2020-03-18 20:14:15 +0200
commit9e80a9f9221161df51c59b6f1a87a5d4e7a0c0cd (patch)
tree042a9c0025d4c628559e2b3fd617fa0c9facc011 /render-test/runner.cpp
parent6a68305e1e409699e72726526750becda1a488ae (diff)
downloadqtlocation-mapboxgl-9e80a9f9221161df51c59b6f1a87a5d4e7a0c0cd.tar.gz
[render tests] Unset `MapOptions::keepRenderData()` flag in tile 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 b700b449fa..4fc68d0a1a 100644
--- a/render-test/runner.cpp
+++ b/render-test/runner.cpp
@@ -683,7 +683,8 @@ TestRunner::Impl::Impl(const TestMetadata& metadata, const mbgl::ResourceOptions
.withMapMode(metadata.mapMode)
.withSize(metadata.size)
.withPixelRatio(metadata.pixelRatio)
- .withCrossSourceCollisions(metadata.crossSourceCollisions),
+ .withCrossSourceCollisions(metadata.crossSourceCollisions)
+ .withKeepRenderData(metadata.mapMode != MapMode::Tile),
resourceOptions) {}
TestRunner::Impl::~Impl() {}