diff options
Diffstat (limited to 'bin')
-rw-r--r-- | bin/render.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/render.cpp b/bin/render.cpp index 03d1e86144..a805953693 100644 --- a/bin/render.cpp +++ b/bin/render.cpp @@ -78,8 +78,8 @@ int main(int argc, char *argv[]) { ThreadPool threadPool(4); HeadlessFrontend frontend({ width, height }, pixelRatio, threadPool); - Map map(frontend, MapObserver::nullObserver(), pixelRatio, threadPool, - MapOptions().withMapMode(MapMode::Static).withSize(frontend.getSize()), + Map map(frontend, MapObserver::nullObserver(), threadPool, + MapOptions().withMapMode(MapMode::Static).withSize(frontend.getSize()).withPixelRatio(pixelRatio), ResourceOptions().withCachePath(cache_file).withAssetPath(asset_root).withAccessToken(std::string(token))); if (style.find("://") == std::string::npos) { |