# | Line 185 | Line 185 | tmCvRGB48(TMstruct *tms, TMbright *ls, BYTE *cs, | |
---|---|---|
185 | if (gv <= 0.) | |
186 | gv = DEFGAM; | |
187 | /* sync input gamma table */ | |
188 | < | if ((gv != 1.) & (gv != cur_gam)) |
188 | > | if (gv != cur_gam) |
189 | mkGamTable(gv); | |
190 | if (tmNeedMatrix(tms)) { /* need floating point */ | |
191 | COLOR *newscan; | |
# | Line 216 | Line 216 | tmCvRGB48(TMstruct *tms, TMbright *ls, BYTE *cs, | |
216 | if (nshft < 0) { | |
217 | bi = TM_NOBRT; /* bogus value */ | |
218 | lum = 1.; | |
219 | + | setcolor(cmon, 1., 1., 1.); |
220 | } else { | |
221 | int j = GAMTABBITS-16+nshft; | |
222 | int nshft2; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |