summaryrefslogtreecommitdiff
path: root/src/mbgl/map
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2016-06-22 16:28:32 +0200
committerKonstantin Käfer <mail@kkaefer.com>2016-06-22 16:28:32 +0200
commitd58ed6f9f33ddf13f9141c052116bec0833561a9 (patch)
tree3bb4d1e1af18256234f69929406b8b385728870f /src/mbgl/map
parent3459b83736f0e4eedfb95a1394d9e4ee1523b917 (diff)
downloadqtlocation-mapboxgl-d58ed6f9f33ddf13f9141c052116bec0833561a9.tar.gz
[core] remove TexturePool dependency from Raster constructor
Diffstat (limited to 'src/mbgl/map')
-rw-r--r--src/mbgl/map/map.cpp2
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(),