summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnsis Brammanis <brammanis@gmail.com>2016-03-29 16:42:52 -0700
committerAnsis Brammanis <brammanis@gmail.com>2016-03-30 13:13:54 -0700
commit8e9e779f2fc8b7a8fa44204870afad51b87eb703 (patch)
tree4a6ad2c6c97b38ee32ba88f45762046f32c72545 /src
parent387f37d035d08a1832ad693e8d9401d7f29857bd (diff)
downloadqtlocation-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.
Diffstat (limited to 'src')
-rw-r--r--src/mbgl/style/style.cpp2
1 files changed, 1 insertions, 1 deletions
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);