diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-04-10 15:59:55 +0000 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-04-10 15:59:55 +0000 |
commit | 4433f070f053a0b53926181906b3095f0842e26f (patch) | |
tree | 44f4c73d6a79dd5bf02fb155635d8f0de7c2cfcc /libdimension/color.c | |
parent | 725565212bd45e557b7ba2f313f956428b287c14 (diff) | |
download | dimension-4433f070f053a0b53926181906b3095f0842e26f.tar.xz |
Make dmnsn_whitepoint const.
Diffstat (limited to 'libdimension/color.c')
-rw-r--r-- | libdimension/color.c | 6 |
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) |