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

Comparing ray/src/hd/sm_ogl.c (file contents):
Revision 3.17 by greg, Fri Jun 20 00:25:49 2003 UTC vs.
Revision 3.18 by schorsch, Mon Jul 21 22:30:18 2003 UTC

# Line 147 | Line 147 | tryagain:                              /* hash table lookup */
147                                          /* copy old table to new and free */
148      while (ndx--)
149         if (!QT_IS_EMPTY(le[ndx].qt))
150 <          copystruct(qtCache_find(le[ndx].qt), &le[ndx]);
150 >          *qtCache_find(le[ndx].qt) = le[ndx];
151      free((void *)le);
152      goto tryagain;                      /* should happen only once! */
153   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines