aboutsummaryrefslogtreecommitdiffstats
path: root/libcolour-template.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-06-17 22:51:32 +0200
committerMattias Andrée <maandree@kth.se>2017-06-17 22:51:32 +0200
commit44c5c33799173439f395e0867fdefe91b1349127 (patch)
tree345a722ea269930b2deb4243449dace7a874dde1 /libcolour-template.c
parentm (diff)
downloadlibcolour-44c5c33799173439f395e0867fdefe91b1349127.tar.gz
libcolour-44c5c33799173439f395e0867fdefe91b1349127.tar.bz2
libcolour-44c5c33799173439f395e0867fdefe91b1349127.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--libcolour-template.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libcolour-template.c b/libcolour-template.c
index 22afd26..aacc56a 100644
--- a/libcolour-template.c
+++ b/libcolour-template.c
@@ -153,10 +153,6 @@ get_primaries(libcolour_rgb_t *cs)
if (eliminate(M, 3, 6))
return -1;
- memcpy(M[0], M[0] + 3, 3 * sizeof(TYPE));
- memcpy(M[1], M[1] + 3, 3 * sizeof(TYPE));
- memcpy(M[2], M[2] + 3, 3 * sizeof(TYPE));
-
w.ciexyz.X = Sr;
w.ciexyz.Y = Sg;
w.ciexyz.Z = Sb;