diff --git a/src/map/map.cpp b/src/map/map.cpp index ad8248476..d0a279b64 100644 --- a/src/map/map.cpp +++ b/src/map/map.cpp @@ -642,9 +642,8 @@ void Map::prepare() { void Map::render() { view.make_active(); - painter.render(*style, getActiveSources(), - getState(), getAnimationTime()); - + painter.render(*style, activeSources, + state, animationTime); // Schedule another rerender when we definitely need a next frame. if (transform.needsTransition() || style->hasTransitions()) { update();