summaryrefslogtreecommitdiffstats
path: root/libdimension/color.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-04-10 15:59:55 +0000
committerTavian Barnes <tavianator@gmail.com>2009-04-10 15:59:55 +0000
commit4433f070f053a0b53926181906b3095f0842e26f (patch)
tree44f4c73d6a79dd5bf02fb155635d8f0de7c2cfcc /libdimension/color.c
parent725565212bd45e557b7ba2f313f956428b287c14 (diff)
downloaddimension-4433f070f053a0b53926181906b3095f0842e26f.tar.xz
Make dmnsn_whitepoint const.
Diffstat (limited to 'libdimension/color.c')
-rw-r--r--libdimension/color.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libdimension/color.c b/libdimension/color.c
index 6c14ce6..d3709cc 100644
--- a/libdimension/color.c
+++ b/libdimension/color.c
@@ -22,9 +22,9 @@
#include <math.h> /* For pow() */
/* sRGB white point (D50) */
-dmnsn_CIE_XYZ dmnsn_whitepoint = { .X = 0.9504060171449392,
- .Y = 0.9999085943425312,
- .Z = 1.089062231497274 };
+const dmnsn_CIE_XYZ dmnsn_whitepoint = { .X = 0.9504060171449392,
+ .Y = 0.9999085943425312,
+ .Z = 1.089062231497274 };
dmnsn_color
dmnsn_color_from_XYZ(dmnsn_CIE_XYZ XYZ)