Skip to content

Commit 649b9bc

Browse files
Merge fixes
1 parent a0a8ad2 commit 649b9bc

File tree

3 files changed

+12
-10
lines changed

3 files changed

+12
-10
lines changed

src/mbgl/map/map.cpp

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -569,13 +569,14 @@ void Map::setTileLodZoomShift(double shift) {
569569

570570
double Map::getTileLodZoomShift() const {
571571
return impl->tileLodZoomShift;
572+
}
572573

573-
ClientOptions Map::getClientOptions() const {
574-
return impl->fileSource ? impl->fileSource->getClientOptions() : ClientOptions();
575-
}
574+
ClientOptions Map::getClientOptions() const {
575+
return impl->fileSource ? impl->fileSource->getClientOptions() : ClientOptions();
576+
}
576577

577-
const std::unique_ptr<util::ActionJournal>& Map::getActionJournal() {
578-
return impl->actionJournal;
579-
}
578+
const std::unique_ptr<util::ActionJournal>& Map::getActionJournal() {
579+
return impl->actionJournal;
580+
}
580581

581582
} // namespace mbgl

src/mbgl/renderer/render_orchestrator.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -195,10 +195,10 @@ std::unique_ptr<RenderTree> RenderOrchestrator::createRenderTree(
195195
.glyphManager = glyphManager,
196196
.prefetchZoomDelta = updateParameters->prefetchZoomDelta,
197197
.threadPool = threadPool,
198-
.updateParameters->tileLodMinRadius,
199-
.updateParameters->tileLodScale,
200-
.updateParameters->tileLodPitchThreshold,
201-
.updateParameters->tileLodZoomShift,
198+
.tileLodMinRadius = updateParameters->tileLodMinRadius,
199+
.tileLodScale = updateParameters->tileLodScale,
200+
.tileLodPitchThreshold = updateParameters->tileLodPitchThreshold,
201+
.tileLodZoomShift = updateParameters->tileLodZoomShift,
202202
.dynamicTextureAtlas = dynamicTextureAtlas};
203203

204204
glyphManager->setURL(updateParameters->glyphURL);

src/mbgl/renderer/renderer_impl.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include <mbgl/renderer/render_static_data.hpp>
1515
#include <mbgl/renderer/render_tree.hpp>
1616
#include <mbgl/renderer/update_parameters.hpp>
17+
#include <mbgl/shaders/program_parameters.hpp>
1718
#include <mbgl/util/convert.hpp>
1819
#include <mbgl/util/string.hpp>
1920
#include <mbgl/util/logging.hpp>

0 commit comments

Comments
 (0)