Index: src/core/SkNx.h |
diff --git a/src/core/SkNx.h b/src/core/SkNx.h |
index dadb3ec132edf563b40da9df14500c5254db3cf8..84f9b693537bdae6a56d4cb09757da8942400353 100644 |
--- a/src/core/SkNx.h |
+++ b/src/core/SkNx.h |
@@ -141,7 +141,7 @@ public: |
bool allTrue() const { return fLo.allTrue() && fHi.allTrue(); } |
bool anyTrue() const { return fLo.anyTrue() || fHi.anyTrue(); } |
SkNf thenElse(const SkNf& t, const SkNf& e) const { |
- return SkNf(fLo.thenElse(t.fLo, t.fHi), fHi.thenElse(t.fLo, t.fHi)); |
+ return SkNf(fLo.thenElse(t.fLo, e.fLo), fHi.thenElse(t.fHi, e.fHi)); |
} |
protected: |