diff options
author | Ansis Brammanis <brammanis@gmail.com> | 2016-03-29 16:42:52 -0700 |
---|---|---|
committer | Ansis Brammanis <brammanis@gmail.com> | 2016-03-30 13:13:54 -0700 |
commit | 8e9e779f2fc8b7a8fa44204870afad51b87eb703 (patch) | |
tree | 4a6ad2c6c97b38ee32ba88f45762046f32c72545 | |
parent | 387f37d035d08a1832ad693e8d9401d7f29857bd (diff) | |
download | qtlocation-mapboxgl-8e9e779f2fc8b7a8fa44204870afad51b87eb703.tar.gz |
[core] fix line-dasharray/long-segment render test
fix #3928
reduce LineAtlas width to 256 to match -js. 256 should be enough.
-rw-r--r-- | package.json | 2 | ||||
-rw-r--r-- | src/mbgl/style/style.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json index 61e54ab7bc..273147387d 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 6342dabc45..926276a304 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<GlyphAtlas>(1024, 1024)), spriteStore(std::make_unique<SpriteStore>(data.pixelRatio)), spriteAtlas(std::make_unique<SpriteAtlas>(1024, 1024, data.pixelRatio, *spriteStore)), - lineAtlas(std::make_unique<LineAtlas>(512, 512)), + lineAtlas(std::make_unique<LineAtlas>(256, 512)), workers(4) { glyphStore->setObserver(this); spriteStore->setObserver(this); |