diff options
author | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2019-05-19 11:41:22 +0300 |
---|---|---|
committer | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2019-05-22 16:41:10 +0300 |
commit | 84d3b5f89971c839c1a15beedf56d8b064be1d6f (patch) | |
tree | ca94bb72b196bc3640b46a473fedc0080fc2b77f /src/mbgl/annotation | |
parent | e2ed9833c4e069fee1251753d13c9a4ef0cb798b (diff) | |
download | qtlocation-mapboxgl-84d3b5f89971c839c1a15beedf56d8b064be1d6f.tar.gz |
[core] Prepare render sources before render layers are initialized
Diffstat (limited to 'src/mbgl/annotation')
-rw-r--r-- | src/mbgl/annotation/render_annotation_source.cpp | 2 | ||||
-rw-r--r-- | src/mbgl/annotation/render_annotation_source.hpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/annotation/render_annotation_source.cpp b/src/mbgl/annotation/render_annotation_source.cpp index fcf9a8d8a7..c90b73dad9 100644 --- a/src/mbgl/annotation/render_annotation_source.cpp +++ b/src/mbgl/annotation/render_annotation_source.cpp @@ -51,7 +51,7 @@ void RenderAnnotationSource::upload(gfx::UploadPass& uploadPass) { tilePyramid.upload(uploadPass); } -void RenderAnnotationSource::prepare(PaintParameters& parameters) { +void RenderAnnotationSource::prepare(const SourcePrepareParameters& parameters) { tilePyramid.prepare(parameters); } diff --git a/src/mbgl/annotation/render_annotation_source.hpp b/src/mbgl/annotation/render_annotation_source.hpp index 46fd9ed06f..8267fea39e 100644 --- a/src/mbgl/annotation/render_annotation_source.hpp +++ b/src/mbgl/annotation/render_annotation_source.hpp @@ -19,7 +19,7 @@ public: const TileParameters&) final; void upload(gfx::UploadPass&) final; - void prepare(PaintParameters&) final; + void prepare(const SourcePrepareParameters&) final; void finishRender(PaintParameters&) final; std::vector<std::reference_wrapper<RenderTile>> getRenderTiles() final; |