summaryrefslogtreecommitdiff
path: root/test/gl/context.test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/gl/context.test.cpp')
-rw-r--r--test/gl/context.test.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/gl/context.test.cpp b/test/gl/context.test.cpp
index d9b2750a95..291813bd9a 100644
--- a/test/gl/context.test.cpp
+++ b/test/gl/context.test.cpp
@@ -87,11 +87,10 @@ TEST(GLContextMode, Shared) {
util::RunLoop loop;
ThreadPool threadPool(4);
- float pixelRatio { 1 };
- HeadlessFrontend frontend { pixelRatio, threadPool, {}, GLContextMode::Shared };
+ HeadlessFrontend frontend { 1, threadPool, {}, GLContextMode::Shared };
- Map map(frontend, MapObserver::nullObserver(), pixelRatio, 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"));