Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-06-06 02:12:17 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-06-06 02:12:17 +0400
commitcb0b3558af3a5544a08513a7a0a7354502af0eaf (patch)
tree4854168bf000ea35f0e7203482a394de06b798ab /source/gameengine/VideoTexture
parent6cff0b71a770a23847e94520adecf9f8639c7e2b (diff)
style cleanup
Diffstat (limited to 'source/gameengine/VideoTexture')
-rw-r--r--source/gameengine/VideoTexture/FilterColor.h6
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