diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2016-10-26 17:32:07 -0700 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2016-11-01 18:41:52 +0100 |
commit | 7b50cac49f353524457e16d3f342299e0886e963 (patch) | |
tree | 22356d28417e24623c5919e3a50f5763967a53dc /src/mbgl/style/style.cpp | |
parent | 358701f475b2c04c4681d70435bc76370b371285 (diff) | |
download | qtlocation-mapboxgl-7b50cac49f353524457e16d3f342299e0886e963.tar.gz |
[core] convert GlyphAtlas to use managed texture handling
Diffstat (limited to 'src/mbgl/style/style.cpp')
-rw-r--r-- | src/mbgl/style/style.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/style/style.cpp b/src/mbgl/style/style.cpp index c33a10517d..bcc062f82e 100644 --- a/src/mbgl/style/style.cpp +++ b/src/mbgl/style/style.cpp @@ -38,7 +38,7 @@ static Observer nullObserver; Style::Style(FileSource& fileSource_, float pixelRatio) : fileSource(fileSource_), - glyphAtlas(std::make_unique<GlyphAtlas>(2048, 2048, fileSource)), + glyphAtlas(std::make_unique<GlyphAtlas>(Size{ 2048, 2048 }, fileSource)), spriteAtlas(std::make_unique<SpriteAtlas>(Size{ 1024, 1024 }, pixelRatio)), lineAtlas(std::make_unique<LineAtlas>(256, 512)), observer(&nullObserver) { |