diff options
author | Johnny Matthews <johnny.matthews@gmail.com> | 2005-11-30 00:14:42 +0300 |
---|---|---|
committer | Johnny Matthews <johnny.matthews@gmail.com> | 2005-11-30 00:14:42 +0300 |
commit | 4798e3ac288e26005107e870d6563508bb8ee888 (patch) | |
tree | 3855dd931f31a15d92bb242538f647dfdd989fdd /source/blender | |
parent | 36cc4a632f1c962a3d37432464fc63efc782ab31 (diff) |
A small tweak on the Glow effect Alpha channel.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/src/sequence.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/sequence.c b/source/blender/src/sequence.c index 6c2c97518c4..17b6e4d90b0 100644 --- a/source/blender/src/sequence.c +++ b/source/blender/src/sequence.c @@ -1486,7 +1486,7 @@ void RVIsolateHighlights (unsigned char* in, unsigned char* out, int width, int out[index+GlowR]=MIN2(255*clamp, (in[index+GlowR]*boost*intensity)/255); out[index+GlowG]=MIN2(255*clamp, (in[index+GlowG]*boost*intensity)/255); out[index+GlowB]=MIN2(255*clamp, (in[index+GlowB]*boost*intensity)/255); - out[index+GlowA]=in[index+GlowA]; + out[index+GlowA]=MIN2(255*clamp, (in[index+GlowA]*boost*intensity)/255); } else{ out[index+GlowR]=0; |