summaryrefslogtreecommitdiff
path: root/platform/qt/src/qmapboxgl_map_renderer.cpp
diff options
context:
space:
mode:
authorMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2020-01-15 16:30:34 +0200
committerMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2020-01-22 14:30:26 +0200
commitd24c1d625af61328b8ada2d005ab3f9e659a2c69 (patch)
tree90be4d179a0177833b1322fc8f913e48592ab44d /platform/qt/src/qmapboxgl_map_renderer.cpp
parent5af128f205a404128e804f5c82ecf748a52dac9c (diff)
downloadqtlocation-mapboxgl-d24c1d625af61328b8ada2d005ab3f9e659a2c69.tar.gz
[core] Pass std::shared_ptr<UpdateParameters> to the render orchestrator
So that it can retain ownership of the given parameters.
Diffstat (limited to 'platform/qt/src/qmapboxgl_map_renderer.cpp')
-rw-r--r--platform/qt/src/qmapboxgl_map_renderer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/qt/src/qmapboxgl_map_renderer.cpp b/platform/qt/src/qmapboxgl_map_renderer.cpp
index 8423470323..7c7f5ee151 100644
--- a/platform/qt/src/qmapboxgl_map_renderer.cpp
+++ b/platform/qt/src/qmapboxgl_map_renderer.cpp
@@ -84,7 +84,7 @@ void QMapboxGLMapRenderer::render()
// The OpenGL implementation automatically enables the OpenGL context for us.
mbgl::gfx::BackendScope scope(m_backend, mbgl::gfx::BackendScope::ScopeType::Implicit);
- m_renderer->render(*params);
+ m_renderer->render(params);
if (m_forceScheduler) {
getScheduler()->processEvents();