From a09cfff78a96a10169a30324b75554827945fed4 Mon Sep 17 00:00:00 2001 From: rodri Date: Sat, 5 Oct 2024 10:07:34 +0000 Subject: patch a leak in rectclipline. fix a pixel-discarding logic statement. --- fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fb.c') diff --git a/fb.c b/fb.c index 4a6a7d2..88fe017 100644 --- a/fb.c +++ b/fb.c @@ -92,7 +92,7 @@ rasterconvF2C(Raster *dst, Raster *src) /* first run: get the domain */ f = (float*)src->data; len = Dx(dst->r)*Dy(dst->r); - for(min = 0, max = 0; len--; f++){ + for(min = max = 0; len--; f++){ if(isInf(*f, -1)) /* -∞ is the DNotacolor of the z-buffer */ continue; min = min(*f, min); -- cgit v1.2.3