ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/tmapluv.c
(Generate patch)

Comparing ray/src/common/tmapluv.c (file contents):
Revision 3.7 by greg, Tue Jul 1 16:20:04 2003 UTC vs.
Revision 3.8 by greg, Tue Jul 15 07:28:09 2003 UTC

# Line 215 | Line 215 | int    len;
215                          continue;
216                                                  /* get chrominance */
217                  if (tmTop->flags & TM_F_MESOPIC && ls[i] < BMESUPPER) {
218 <                        if (uv_decode(uvp, uvp+1, luvs[i]&0x3fff) < 0) {
218 >                        if (uv_decode(&uvp[0], &uvp[1], luvs[i]&0x3fff) < 0) {
219                                  uvp[0] = U_NEU;         /* should barf? */
220                                  uvp[1] = V_NEU;
221                          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines