[core] remove TexturePool dependency from Raster constructor

This commit is contained in:
Konstantin Käfer
2016-06-22 16:28:32 +02:00
parent 3459b83736
commit d58ed6f9f3
19 changed files with 36 additions and 45 deletions

View File

@@ -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(),