| # | Line 1073 | Line 1073 | make_tonemap(void) /* initialize tone mapping */ | |
|---|---|---|
| 1073 | tmGlobal = tmInit(flags, stdprims, gamcor); | |
| 1074 | if (tmGlobal == NULL) | |
| 1075 | goto memerr; | |
| 1076 | < | if (tmSetSpace(tmGlobal, stdprims, WHTEFFICACY/exposure, NULL)) |
| 1076 | > | if (tmSetSpace(tmGlobal, stdprims, WHTEFFICACY/exposure)) |
| 1077 | goto tmerr; | |
| 1078 | /* compute picture histogram */ | |
| 1079 | for (y = 0; y < ymax; y++) { | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |