From 8e9e779f2fc8b7a8fa44204870afad51b87eb703 Mon Sep 17 00:00:00 2001 From: Ansis Brammanis Date: Tue, 29 Mar 2016 16:42:52 -0700 Subject: [PATCH] [core] fix line-dasharray/long-segment render test fix #3928 reduce LineAtlas width to 256 to match -js. 256 should be enough. --- package.json | 2 +- src/mbgl/style/style.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 61e54ab7b..273147387 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ ], "devDependencies": { "aws-sdk": "^2.2.21", - "mapbox-gl-test-suite": "mapbox/mapbox-gl-test-suite#45066f6e78c780211d9587df2352597e07a197b5", + "mapbox-gl-test-suite": "mapbox/mapbox-gl-test-suite#4e47d234da96c87356c508575cda5e6aa0065751", "node-gyp": "^3.2.1", "request": "^2.67.0", "tape": "^4.2.2" diff --git a/src/mbgl/style/style.cpp b/src/mbgl/style/style.cpp index 6342dabc4..926276a30 100644 --- a/src/mbgl/style/style.cpp +++ b/src/mbgl/style/style.cpp @@ -64,7 +64,7 @@ Style::Style(MapData& data_, FileSource& fileSource_) glyphAtlas(std::make_unique(1024, 1024)), spriteStore(std::make_unique(data.pixelRatio)), spriteAtlas(std::make_unique(1024, 1024, data.pixelRatio, *spriteStore)), - lineAtlas(std::make_unique(512, 512)), + lineAtlas(std::make_unique(256, 512)), workers(4) { glyphStore->setObserver(this); spriteStore->setObserver(this);