diff options
author | artemp <artem@mapnik.org> | 2014-10-29 18:13:25 -0400 |
---|---|---|
committer | artemp <artem@mapnik.org> | 2014-10-29 18:13:25 -0400 |
commit | 665497672e28461de4550a835f3459a964704e94 (patch) | |
tree | 03ba5006d8d2a983b0ea91b668b7bc4267ffaa74 /src | |
parent | 9ff0d009124a4b114c0199cc5ef03a87759103a1 (diff) | |
download | qtlocation-mapboxgl-665497672e28461de4550a835f3459a964704e94.tar.gz |
access member variables directly inside class methods
Diffstat (limited to 'src')
-rw-r--r-- | src/map/map.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/map/map.cpp b/src/map/map.cpp index ad82484763..d0a279b648 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(); |