summaryrefslogtreecommitdiff
path: root/src/lib/ector/software/ector_software_gradient.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ector/software/ector_software_gradient.h')
-rw-r--r--src/lib/ector/software/ector_software_gradient.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/ector/software/ector_software_gradient.h b/src/lib/ector/software/ector_software_gradient.h
index 2cbf2f99d7..38731de97d 100644
--- a/src/lib/ector/software/ector_software_gradient.h
+++ b/src/lib/ector/software/ector_software_gradient.h
@@ -18,6 +18,10 @@
18#define FIXPT_BITS 8 18#define FIXPT_BITS 8
19#define FIXPT_SIZE (1<<FIXPT_BITS) 19#define FIXPT_SIZE (1<<FIXPT_BITS)
20 20
21#define CTABLE_NOT_READY 0
22#define CTABLE_PROCESSING 1
23#define CTABLE_READY_DONE 2
24
21static inline int 25static inline int
22_gradient_clamp(const Ector_Renderer_Software_Gradient_Data *data, int ipos) 26_gradient_clamp(const Ector_Renderer_Software_Gradient_Data *data, int ipos)
23{ 27{