Index: src/core/Sk4x_portable.h |
diff --git a/src/core/Sk4x_portable.h b/src/core/Sk4x_portable.h |
index 2f985d0d89d818049ca9eee4988411c9a08a8a21..bd056c777eef682dc8b01df1fec6c9f16fcf7976 100644 |
--- a/src/core/Sk4x_portable.h |
+++ b/src/core/Sk4x_portable.h |
@@ -19,6 +19,7 @@ |
#define M(...) template <typename T> __VA_ARGS__ Sk4x<T>:: |
M() Sk4x() {} |
+M() Sk4x(T v) { fVec[0] = fVec[1] = fVec[2] = fVec[3] = v; } |
M() Sk4x(T a, T b, T c, T d) { fVec[0] = a; fVec[1] = b; fVec[2] = c; fVec[3] = d; } |
M() Sk4x(const Sk4x<T>& other) { this->set(other.fVec); } |