From 4946f5fbb2994fb20363d421776256031a32da1e Mon Sep 17 00:00:00 2001 From: tonton th Date: Sun, 3 Jan 2021 15:43:26 +0100 Subject: [PATCH] run it, bro ! --- Fonderie/glitches.c | 1 + Fonderie/sfx.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Fonderie/glitches.c b/Fonderie/glitches.c index c6a82014..33cbe9de 100644 --- a/Fonderie/glitches.c +++ b/Fonderie/glitches.c @@ -34,6 +34,7 @@ for (idx=0; idx < pimg->height; idx++) { // fprintf(stderr, "%6d %6d\n", idx, sline); pimg->R[pos] = pimg->G[pos]; pimg->B[pos] = pimg->G[pos]; + pimg->G[pos] *= 1.414; } return 0; diff --git a/Fonderie/sfx.c b/Fonderie/sfx.c index 964631b7..1ee6e047 100644 --- a/Fonderie/sfx.c +++ b/Fonderie/sfx.c @@ -30,6 +30,8 @@ for (y=pos[1]; ywidth) + x; pimg->R[off] = fvals[0]; + pimg->G[off] = fvals[1]; + pimg->B[off] = fvals[2]; } } return 0;