From 8e9e779f2fc8b7a8fa44204870afad51b87eb703 Mon Sep 17 00:00:00 2001 From: Ansis Brammanis Date: Tue, 29 Mar 2016 16:42:52 -0700 Subject: [core] fix line-dasharray/long-segment render test fix #3928 reduce LineAtlas width to 256 to match -js. 256 should be enough. --- src/mbgl/style/style.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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(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); -- cgit v1.2.1