From 877643855058da348bf5a42692788b0d1717511e Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 26 Jan 2010 19:37:17 +0100 Subject: Fix binning Dividing a number down then multiplying it up again, with integer arithmetic, and expecting the result to be the same as the original is not cool. --- src/render.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/render.c') diff --git a/src/render.c b/src/render.c index e3fec53d..ca86f28c 100644 --- a/src/render.c +++ b/src/render.c @@ -49,7 +49,7 @@ static void *render_bin(int16_t *in, int inw, int inh, for ( xb=0; xb