[core] render light
This commit is contained in:
committed by
Ivo van Dongen
parent
1c9af3226f
commit
20810f988a
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user