Introduction
Introduction Statistics Contact Development Disclaimer Help
blind-gauss-blur: change glow function - blind - suckless command-line video ed…
git clone git://git.suckless.org/blind
Log
Files
Refs
README
LICENSE
---
commit 08b33274f39f0dafe9c8cc68fe637884d7a218a9
parent 5ba5815d0a7255f311cdc66251774e6e36854e8f
Author: Mattias Andrée <[email protected]>
Date: Wed, 26 Jul 2017 21:56:36 +0200
blind-gauss-blur: change glow function
Signed-off-by: Mattias Andrée <[email protected]>
Diffstat:
M src/blind-gauss-blur.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/blind-gauss-blur.c b/src/blind-gauss-blur.c
@@ -263,10 +263,10 @@ static void *original = NULL;
i1 = start * colour->width;\
for (y1 = start; y1 < end; y1++) {\
for (x1 = 0; x1 < colour->width; x1++, i1++) {\
- img[i1][0] = 1 - (1 - img[i1][0]) * (1…
- img[i1][1] = 1 - (1 - img[i1][1]) * (1…
- img[i1][2] = 1 - (1 - img[i1][2]) * (1…
- img[i1][3] = 1 - (1 - img[i1][3]) * (1…
+ img[i1][0] += orig[i1][0];\
+ img[i1][1] += orig[i1][1];\
+ img[i1][2] += orig[i1][2];\
+ img[i1][3] += orig[i1][3];\
}\
}\
}\
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.