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

Comparing ray/src/rt/colortab.c (file contents):
Revision 1.11 by greg, Fri Jan 19 00:00:37 1990 UTC vs.
Revision 1.12 by greg, Fri Feb 9 09:14:52 1990 UTC

# Line 129 | Line 129 | int    (*set_pixel)();
129                  clrtab[h].ent[RED] = r;
130                  clrtab[h].ent[GRN] = g; /* reassign pixel */
131                  clrtab[h].ent[BLU] = b;
132 < #ifdef notdef
133 <                printf("pixel %d = (%d,%d,%d) (%d refs)\n",
132 > #ifdef DEBUG
133 >                sprintf(errmsg, "pixel %d = (%d,%d,%d) (%d refs)\n",
134                                  h, r, g, b, clrtab[h].n);
135 +                eputs(errmsg);
136   #endif
137                  (*set_pixel)(h, r, g, b);
138          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines