diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2016-06-22 16:28:32 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2016-06-22 16:28:32 +0200 |
commit | d58ed6f9f33ddf13f9141c052116bec0833561a9 (patch) | |
tree | 3bb4d1e1af18256234f69929406b8b385728870f /src/mbgl/map | |
parent | 3459b83736f0e4eedfb95a1394d9e4ee1523b917 (diff) | |
download | qtlocation-mapboxgl-d58ed6f9f33ddf13f9141c052116bec0833561a9.tar.gz |
[core] remove TexturePool dependency from Raster constructor
Diffstat (limited to 'src/mbgl/map')
-rw-r--r-- | src/mbgl/map/map.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/map/map.cpp b/src/mbgl/map/map.cpp index fa7bebf9a6..4529f0b99e 100644 --- a/src/mbgl/map/map.cpp +++ b/src/mbgl/map/map.cpp @@ -255,7 +255,7 @@ void Map::Impl::update() { void Map::Impl::render() { if (!painter) { - painter = std::make_unique<Painter>(transform.getState(), store); + painter = std::make_unique<Painter>(transform.getState(), *texturePool, store); } FrameData frameData { view.getFramebufferSize(), |