diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-06-06 02:12:17 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-06-06 02:12:17 +0400 |
commit | cb0b3558af3a5544a08513a7a0a7354502af0eaf (patch) | |
tree | 4854168bf000ea35f0e7203482a394de06b798ab /source/gameengine/VideoTexture/FilterColor.h | |
parent | 6cff0b71a770a23847e94520adecf9f8639c7e2b (diff) |
style cleanup
Diffstat (limited to 'source/gameengine/VideoTexture/FilterColor.h')
-rw-r--r-- | source/gameengine/VideoTexture/FilterColor.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/gameengine/VideoTexture/FilterColor.h b/source/gameengine/VideoTexture/FilterColor.h index 9b1976cf40f..cd61900bbda 100644 --- a/source/gameengine/VideoTexture/FilterColor.h +++ b/source/gameengine/VideoTexture/FilterColor.h @@ -91,9 +91,9 @@ protected: /// calculate one color component unsigned char calcColor (unsigned int val, short idx) { - return (((m_matrix[idx][0] * (VT_R(val)) + m_matrix[idx][1] * (VT_G(val)) - + m_matrix[idx][2] * (VT_B(val)) + m_matrix[idx][3] * (VT_A(val)) - + m_matrix[idx][4]) >> 8) & 0xFF); + return (((m_matrix[idx][0] * (VT_R(val)) + m_matrix[idx][1] * (VT_G(val)) + + m_matrix[idx][2] * (VT_B(val)) + m_matrix[idx][3] * (VT_A(val)) + + m_matrix[idx][4]) >> 8) & 0xFF); } /// filter pixel template, source int buffer |