From: Jann Horn Date: Tue, 5 Nov 2013 21:55:52 +0000 (+0100) Subject: all channels X-Git-Url: http://git.thejh.net/?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=detafelator.git all channels --- diff --git a/detafelator.c b/detafelator.c index ebc68b5..fef4695 100644 --- a/detafelator.c +++ b/detafelator.c @@ -48,6 +48,7 @@ int main(int argc, char **argv) { /*avg(*/pxptr(oimg,x-1,y)[0]/*,pxptr(oimg,x,y-1)[0])*/ - (pxptr(iimg, x, y)[0]-128) ); } + pxptr(oimg,x,y)[2] = pxptr(oimg,x,y)[1] = pxptr(oimg,x,y)[0]; } }