[core] Removed time param from Painter::render

Animation time can be obtained directly from MapData.
This commit is contained in:
Bruno de Oliveira Abinader
2015-10-20 12:16:15 -07:00
parent 0045eef00a
commit 6824a24acd
3 changed files with 4 additions and 5 deletions

View File

@@ -244,7 +244,7 @@ bool MapContext::renderSync(const TransformState& state, const FrameData& frame)
glObjectStore.performCleanup();
if (!painter) painter = std::make_unique<Painter>(data);
painter->render(*style, transformState, frame, data.getAnimationTime());
painter->render(*style, transformState, frame);
if (data.mode == MapMode::Still) {
callback(nullptr, view.readStillImage());