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:
Diffstat (limited to 'source/blender/render/intern/source/pixelblending.c')
-rw-r--r--source/blender/render/intern/source/pixelblending.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/render/intern/source/pixelblending.c b/source/blender/render/intern/source/pixelblending.c
index a22680c7085..d66f40225fa 100644
--- a/source/blender/render/intern/source/pixelblending.c
+++ b/source/blender/render/intern/source/pixelblending.c
@@ -81,7 +81,7 @@ void addAlphaOverFloat(float *dest, float *source)
{
/* d = s + (1-alpha_s)d*/
float mul;
-
+
mul= 1.0 - source[3];
dest[0]= (mul*dest[0]) + source[0];
@@ -131,7 +131,7 @@ void addalphaAddfacFloat(float *dest, float *source, char addfac)
else
#endif
dest[1]= c;
-
+
c= (m * dest[2]) + source[2];
#ifdef RE_FLOAT_COLOR_CLIPPING
if(c >= RE_FULL_COLOR_FLOAT) dest[2] = RE_FULL_COLOR_FLOAT;