--- ray/src/common/tmapcolrs.c 2006/05/18 01:58:18 3.24 +++ ray/src/common/tmapcolrs.c 2009/02/09 20:48:08 3.26 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: tmapcolrs.c,v 3.24 2006/05/18 01:58:18 greg Exp $"; +static const char RCSid[] = "$Id: tmapcolrs.c,v 3.26 2009/02/09 20:48:08 greg Exp $"; #endif /* * Routines for tone mapping on Radiance RGBE and XYZE pictures. @@ -10,6 +10,7 @@ static const char RCSid[] = "$Id: tmapcolrs.c,v 3.24 2 #include "copyright.h" #include +#include #include #include #include @@ -432,7 +433,6 @@ register TMstruct *tms; cd = (COLRDATA *)tms->pd[colrReg]; for (i = 3; i--; ) cd->clfb[i] = 0x1000*tms->clf[i] + .5; -fprintf(stderr, "(%d %d %d)\n", cd->clfb[0], cd->clfb[1], cd->clfb[2]); cd->inpsfb = tmCvLuminance(tms->inpsf); for (i = 3; i--; ) for (j = 3; j--; ) {