aboutsummaryrefslogtreecommitdiffstats
path: root/libglitter_desaturate_float.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-01-21 22:37:18 +0100
committerMattias Andrée <maandree@kth.se>2023-01-21 22:37:18 +0100
commitada6f13d71a7b57a10717aca4d84f58cfefd5a14 (patch)
tree26ff19d1604bbc4b8b7a2471bb1b4d4a37571dd0 /libglitter_desaturate_float.c
parentm (diff)
downloadlibglitter-ada6f13d71a7b57a10717aca4d84f58cfefd5a14.tar.gz
libglitter-ada6f13d71a7b57a10717aca4d84f58cfefd5a14.tar.bz2
libglitter-ada6f13d71a7b57a10717aca4d84f58cfefd5a14.tar.xz
Add libglitter_desaturate_{double,float}
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--libglitter_desaturate_float.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libglitter_desaturate_float.c b/libglitter_desaturate_float.c
new file mode 100644
index 0000000..54488a3
--- /dev/null
+++ b/libglitter_desaturate_float.c
@@ -0,0 +1,6 @@
+/* See LICENSE file for copyright and license details. */
+#include "common.h"
+#define libglitter_desaturate_double libglitter_desaturate_float
+#define double float
+#define fma fmaf
+#include "libglitter_desaturate_double.c"