diff options
author | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2020-03-18 14:51:25 +0200 |
---|---|---|
committer | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2020-03-18 20:14:15 +0200 |
commit | 9e80a9f9221161df51c59b6f1a87a5d4e7a0c0cd (patch) | |
tree | 042a9c0025d4c628559e2b3fd617fa0c9facc011 /render-test/runner.cpp | |
parent | 6a68305e1e409699e72726526750becda1a488ae (diff) | |
download | qtlocation-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.cpp | 3 |
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() {} |