summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLauren Budorick <lauren@mapbox.com>2017-12-07 13:01:42 -0800
committerGitHub <noreply@github.com>2017-12-07 13:01:42 -0800
commita0199efa9a5b9a19f0f9209ae22e4c145138b9f7 (patch)
treef90f5fcb42e184c8ad338674d802f08067d32624
parentca9d9bb85733f8127154cf34cb61e871fee91bdf (diff)
downloadqtlocation-mapboxgl-a0199efa9a5b9a19f0f9209ae22e4c145138b9f7.tar.gz
Correct ColorMode::Replace
-rw-r--r--src/mbgl/gl/color_mode.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/gl/color_mode.hpp b/src/mbgl/gl/color_mode.hpp
index e73c8737eb..c6594a3a77 100644
--- a/src/mbgl/gl/color_mode.hpp
+++ b/src/mbgl/gl/color_mode.hpp
@@ -49,7 +49,7 @@ public:
struct Replace {
static constexpr BlendEquation equation = BlendEquation::Add;
static constexpr BlendFactor srcFactor = One;
- static constexpr BlendFactor dstFactor = One;
+ static constexpr BlendFactor dstFactor = Zero;
};
using Add = LinearBlend<BlendEquation::Add>;