summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas Wojciechowski <lucas@mapbox.com>2018-04-23 15:41:22 -0700
committerAsheem Mamoowala <asheem.mamoowala@mapbox.com>2018-05-09 16:08:50 -0700
commit5634dcd6a29dda591399203f240f9a75bc7818ae (patch)
tree26ab8ab4589607b6fe9c9877dc0849dae711c0c0
parentf42bfca6d1af31f123d55297b6c04219c528072b (diff)
downloadqtlocation-mapboxgl-5634dcd6a29dda591399203f240f9a75bc7818ae.tar.gz
Fix GLFW app
-rw-r--r--platform/glfw/glfw_view.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/glfw/glfw_view.cpp b/platform/glfw/glfw_view.cpp
index 3631b8a045..362269b8e4 100644
--- a/platform/glfw/glfw_view.cpp
+++ b/platform/glfw/glfw_view.cpp
@@ -640,7 +640,8 @@ void GLFWView::toggle3DExtrusions(bool visible) {
extrusionLayer->setSourceLayer("building");
extrusionLayer->setMinZoom(15.0f);
- extrusionLayer->setFilter(Filter(createCompoundExpression("filter-==", createLiteral("extrude"), createLiteral("true"), ParsingContext())) });
+ ParsingContext parsingContext;
+ extrusionLayer->setFilter(Filter(createCompoundExpression("filter-==", createLiteral("extrude"), createLiteral("true"), parsingContext)));
auto colorFn = mbgl::style::SourceFunction<mbgl::Color> { "height",
mbgl::style::ExponentialStops<mbgl::Color> {