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). --- rect.h | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 rect.h (limited to 'rect.h') diff --git a/rect.h b/rect.h new file mode 100644 index 0000000..2d40713 --- /dev/null +++ b/rect.h @@ -0,0 +1,5 @@ +#pragma once + +int render_rectangle(flam3_frame *spec, void *out, + int field, stat_struct *stats); + -- cgit v1.2.3