From 6123a81aecc4e3cd6c47c908fb7e9010d3d64798 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Mon, 16 Feb 2015 17:35:10 +0100 Subject: Vectorize color clipping MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replaces redundant code with one function. Oddly this fixes rendering with earlyclip – not sure why. Drop transparency and channel settings (always transparent, always four channels). --- variations.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'variations.c') diff --git a/variations.c b/variations.c index fe4f6b9..44e4eb6 100644 --- a/variations.c +++ b/variations.c @@ -18,11 +18,7 @@ #include "variations.h" #include "interpolation.h" - -#ifdef HAVE_AMDLIBM -#define REPLACE_WITH_AMDLIBM -#include -#endif +#include "math.h" #define badvalue(x) (((x)!=(x))||((x)>1e10)||((x)<-1e10)) -- cgit v1.2.3