Forgot to pass alpha

This commit is contained in:
Phillip Stephens 2016-01-05 17:45:06 -08:00
parent 2a3401ade9
commit e1fbd991b6
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,7 @@ public:
void toHSL(float& h, float& s, float& l);
CColor toGrayscale()
{ return {Math::sqrtF((r * r + g * g + b * b) / 3)}; }
{ return {Math::sqrtF((r * r + g * g + b * b) / 3), a}; }
};
static inline CColor operator+(float lhs, const CColor& rhs)