From a6522d4a5aa894d260c3fbb246deba95b66061fd Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Fri, 28 Nov 2014 17:23:05 -0800 Subject: =?UTF-8?q?Texturepool=20=E2=87=A2=20TexturePool=20(fixes=20#655)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/map/map.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/map/map.cpp') diff --git a/src/map/map.cpp b/src/map/map.cpp index 259e212423..b3c83d1be6 100644 --- a/src/map/map.cpp +++ b/src/map/map.cpp @@ -17,7 +17,7 @@ #include #include #include -#include +#include #include #include #include @@ -94,7 +94,7 @@ Map::Map(View& view_) transform(view_), glyphAtlas(1024, 1024), spriteAtlas(512, 512), - texturepool(std::make_shared()), + texturePool(std::make_shared()), painter(spriteAtlas, glyphAtlas) { view.initialize(this); @@ -114,7 +114,7 @@ Map::~Map() { sprite.reset(); glyphStore.reset(); style.reset(); - texturepool.reset(); + texturePool.reset(); fileSource.reset(); workers.reset(); @@ -588,7 +588,7 @@ void Map::updateTiles() { source->source->update(*this, getWorker(), style, glyphAtlas, *glyphStore, spriteAtlas, getSprite(), - *texturepool, *fileSource, [this](){ update(); }); + *texturePool, *fileSource, [this](){ update(); }); } } -- cgit v1.2.1