[core] Removed time param from Painter::render
Animation time can be obtained directly from MapData.
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user