[core] Pass std::shared_ptr<UpdateParameters> to the render orchestrator

So that it can retain ownership of the given parameters.
This commit is contained in:
Mikhail Pozdnyakov
2020-01-15 16:30:34 +02:00
parent 5af128f205
commit d24c1d625a
9 changed files with 71 additions and 70 deletions

View File

@@ -143,7 +143,7 @@ void MapRenderer::render(JNIEnv&) {
framebufferSizeChanged = false;
}
renderer->render(*params);
renderer->render(params);
// Deliver the snapshot if requested
if (snapshotCallback) {