summaryrefslogtreecommitdiff
path: root/test/api/custom_geometry_source.test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/api/custom_geometry_source.test.cpp')
-rw-r--r--test/api/custom_geometry_source.test.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/api/custom_geometry_source.test.cpp b/test/api/custom_geometry_source.test.cpp
index 679291372d..f796e3086b 100644
--- a/test/api/custom_geometry_source.test.cpp
+++ b/test/api/custom_geometry_source.test.cpp
@@ -21,9 +21,8 @@ TEST(CustomGeometrySource, Grid) {
util::RunLoop loop;
auto threadPool = sharedThreadPool();
- float pixelRatio { 1 };
- HeadlessFrontend frontend { pixelRatio, *threadPool };
- Map map(frontend, MapObserver::nullObserver(), pixelRatio, *threadPool,
+ HeadlessFrontend frontend { 1, *threadPool };
+ Map map(frontend, MapObserver::nullObserver(), *threadPool,
MapOptions().withMapMode(MapMode::Static).withSize(frontend.getSize()),
ResourceOptions().withCachePath(":memory:").withAssetPath("test/fixtures/api/assets"));
map.getStyle().loadJSON(util::read_file("test/fixtures/api/water.json"));