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