summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnsis Brammanis <ansis@mapbox.com>2019-10-01 16:04:14 -0400
committerAnsis Brammanis <ansis@mapbox.com>2019-10-01 16:04:14 -0400
commit3a3662f29d40daa01dc73adbdcb524315a372def (patch)
tree74805cf91672a0a61346c68073b054d4980abbdf
parent0b0bd8b49094517fd3d3427bc65844312064f57c (diff)
downloadqtlocation-mapboxgl-upstream/port-gl-js-fix-8817.tar.gz
-rw-r--r--src/mbgl/renderer/paint_property_binder.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/renderer/paint_property_binder.hpp b/src/mbgl/renderer/paint_property_binder.hpp
index a93bf2e541..db9f61411a 100644
--- a/src/mbgl/renderer/paint_property_binder.hpp
+++ b/src/mbgl/renderer/paint_property_binder.hpp
@@ -372,8 +372,8 @@ public:
std::tuple<float> interpolationFactor(float currentZoom) const override {
const float possiblyRoundedZoom = expression.useIntegerZoom ? std::floor(currentZoom) : currentZoom;
- return std::tuple<float> {
- std::fmax(0.0, std::fmin(1.0, expression.interpolationFactor(zoomRange, possiblyRoundedZoom)))};
+ return std::tuple<float>{
+ ::fmax(0.0, ::fmin(1.0, expression.interpolationFactor(zoomRange, possiblyRoundedZoom)))};
}
std::tuple<T> uniformValue(const PossiblyEvaluatedPropertyValue<T>& currentValue) const override {