[core] render light

This commit is contained in:
Ivo van Dongen
2017-05-04 16:01:16 +03:00
committed by Ivo van Dongen
parent 1c9af3226f
commit 20810f988a
7 changed files with 73 additions and 12 deletions

View File

@@ -967,7 +967,7 @@ void Map::setLight(std::unique_ptr<style::Light> light) {
return;
}
impl->style->light = std::move(light);
impl->style->setLight(std::move(light));
}
style::Light* Map::getLight() {
@@ -975,7 +975,7 @@ style::Light* Map::getLight() {
return nullptr;
}
return impl->style->light.get();
return impl->style->getLight();
}
#pragma mark - Defaults