From 7b50cac49f353524457e16d3f342299e0886e963 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Wed, 26 Oct 2016 17:32:07 -0700 Subject: [core] convert GlyphAtlas to use managed texture handling --- src/mbgl/style/style.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mbgl/style/style.cpp') 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(2048, 2048, fileSource)), + glyphAtlas(std::make_unique(Size{ 2048, 2048 }, fileSource)), spriteAtlas(std::make_unique(Size{ 1024, 1024 }, pixelRatio)), lineAtlas(std::make_unique(256, 512)), observer(&nullObserver) { -- cgit v1.2.1