summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-01-12 14:16:21 +0000
committerCarl Hetherington <cth@carlh.net>2016-01-12 14:16:21 +0000
commit315f98667668ba59b80033429acf10fb3f4e13fe (patch)
treee898dfb6b91cd7e3fae4954f1b8463d7581b9170 /src
parent8308db80725498d379e5e9c213630cc4470c0394 (diff)
Fix colour range in XYZ -> RGBA.
Diffstat (limited to 'src')
-rw-r--r--src/rgb_xyz.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rgb_xyz.cc b/src/rgb_xyz.cc
index 78083a7d..a44678f0 100644
--- a/src/rgb_xyz.cc
+++ b/src/rgb_xyz.cc
@@ -57,7 +57,7 @@ dcp::xyz_to_rgba (
uint8_t* argb
)
{
- int const max_colour = pow (2, 12) - 1;
+ int const max_colour = pow (2, 16) - 1;
struct {
double x, y, z;